Documentation ¶
Overview ¶
Package solution contains Solution to Challenge #006, run TestSolution for test cases
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XORLinkedList ¶
type XORLinkedList interface { // Add adds the element value to the end Add(val int) // Get returns the node at index and true, if found Get(in int) (int, bool) // Print prints the complete list in writer `w` Print(w io.Writer) }
XORLinkedList: the XOR linked list interface
func NewXorLinkedList ¶
func NewXorLinkedList() XORLinkedList
Click to show internal directories.
Click to hide internal directories.