_006

package
v0.0.0-...-1f145c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL