twelve

package
v0.0.0-...-c678162 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecurseBFS

func RecurseBFS(currentNode *Node, currentPath []*Node, partOne bool) [][]*Node

func Solve1

func Solve1(input string) int

func Solve2

func Solve2(input string) int

Types

type Node

type Node struct {
	Name       string
	Small      bool
	Neighbours []*Node
}

func NewNode

func NewNode(name string) *Node

func (*Node) Eq

func (*Node) Eq(self, other *Node) bool

func (*Node) String

func (n *Node) String() string

Jump to

Keyboard shortcuts

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