exercism-go/simple-linked-list/simple_linked_list.go
2025-03-09 13:26:08 -04:00

27 lines
540 B
Go

package linkedlist
// Define the List and Element types here.
func New([]int) *List {
panic("Please implement the New function")
}
func (l *List) Size() int {
panic("Please implement the Size function")
}
func (l *List) Push(element int) {
panic("Please implement the Push function")
}
func (l *List) Pop() (int, error) {
panic("Please implement the Pop function")
}
func (l *List) Array() []int {
panic("Please implement the Array function")
}
func (l *List) Reverse() *List {
panic("Please implement the Reverse function")
}