day08

package
v0.0.0-...-5d524ee Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Day08 = runner.NewDay(8, parseMap, part1, part2)

Functions

This section is empty.

Types

type Instruction

type Instruction uint8
const (
	Left Instruction = iota
	Right
)

type Map

type Map struct {
	Instructions []Instruction

	Root             *Node
	NodesEndingWithA []*Node
}

type Node

type Node struct {
	Name  string
	Left  *Node
	Right *Node
}

Jump to

Keyboard shortcuts

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