day15

package
v0.0.0-...-c9b3ac2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Day

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

Day holds the data needed to solve part one and part two

func NewDay

func NewDay(input string) (*Day, error)

NewDay returns a new Day that solves part one and two for the given input

func (Day) SolvePartOne

func (d Day) SolvePartOne() (string, error)

SolvePartOne solves part one

func (Day) SolvePartTwo

func (d Day) SolvePartTwo() (string, error)

SolvePartTwo solves part two

Jump to

Keyboard shortcuts

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