aoc

package
v0.0.0-...-b04998d Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delve

func Delve(path []*Node) int

Delve travels through the graph

func Runner

func Runner(data []string) int

Runner runs the algorithm to get the answer

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

Node represents a node

func CloneNodes

func CloneNodes(nodes []*Node) []*Node

CloneNodes creates a clone

func (Node) SizeBig

func (f Node) SizeBig() bool

SizeBig checks if a cave is big

Jump to

Keyboard shortcuts

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