advent

package
v0.0.0-...-6aa0d0e Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(num int) int

func GetMuls

func GetMuls(input string) int

func GetNums

func GetNums() ([]int, []int)

func GetPreciseMuls

func GetPreciseMuls(input string) int

func GetReports

func GetReports() int

func GetReportsDamped

func GetReportsDamped() int

func PartOne

func PartOne(a []int, b []int) int

func PartTwo

func PartTwo(a []int, b []int) int

func RunDayEight

func RunDayEight()

func RunDayFive

func RunDayFive()

func RunDayFour

func RunDayFour()

func RunDayNine

func RunDayNine()

func RunDayOne

func RunDayOne()

func RunDaySeven

func RunDaySeven()

func RunDaySix

func RunDaySix()

func RunDayTen

func RunDayTen()

func RunDayThree

func RunDayThree()

func RunDayTwo

func RunDayTwo()

Types

type Coord

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

type Direction

type Direction string

type OpenGap

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

type Position

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

func (Position) Copy

func (p Position) Copy() Position

func (Position) Down

func (p Position) Down() Position

func (Position) Inbounds

func (p Position) Inbounds() bool

func (Position) Left

func (p Position) Left() Position

func (Position) Right

func (p Position) Right() Position

func (Position) Up

func (p Position) Up() Position

type Problem

type Problem struct {
	Result      int
	Operands    []int
	Resultlen   int
	Operandlens int
}

Jump to

Keyboard shortcuts

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