Documentation
¶
Index ¶
- type LinkedList
- func (list *LinkedList) GetFirst() (int, bool)
- func (list *LinkedList) GetItemsFromEnd() []int
- func (list *LinkedList) GetItemsFromStart() []int
- func (list *LinkedList) GetLast() (int, bool)
- func (list *LinkedList) GetSize() int
- func (list *LinkedList) InsertFirst(i int)
- func (list *LinkedList) InsertLast(i int)
- func (list *LinkedList) RemoveByIndex(i int) bool
- func (list *LinkedList) RemoveByValue(i int) bool
- func (list *LinkedList) SearchValue(i int) bool
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedList ¶
type LinkedList struct {
// contains filtered or unexported fields
}
func (*LinkedList) GetFirst ¶
func (list *LinkedList) GetFirst() (int, bool)
func (*LinkedList) GetItemsFromEnd ¶
func (list *LinkedList) GetItemsFromEnd() []int
func (*LinkedList) GetItemsFromStart ¶
func (list *LinkedList) GetItemsFromStart() []int
func (*LinkedList) GetLast ¶
func (list *LinkedList) GetLast() (int, bool)
func (*LinkedList) GetSize ¶
func (list *LinkedList) GetSize() int
func (*LinkedList) InsertFirst ¶
func (list *LinkedList) InsertFirst(i int)
func (*LinkedList) InsertLast ¶
func (list *LinkedList) InsertLast(i int)
func (*LinkedList) RemoveByIndex ¶
func (list *LinkedList) RemoveByIndex(i int) bool
func (*LinkedList) RemoveByValue ¶
func (list *LinkedList) RemoveByValue(i int) bool
func (*LinkedList) SearchValue ¶
func (list *LinkedList) SearchValue(i int) bool
Click to show internal directories.
Click to hide internal directories.