day_03

package
v0.0.0-...-0235693 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CarrySteps

func CarrySteps(square int) int

func Part1

func Part1()

func Part2

func Part2()

func StressTest

func StressTest(limit int) int

Types

type Grid

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

func NewGrid

func NewGrid() *Grid

func (*Grid) Add

func (g *Grid) Add(x, y int, val int)

func (*Grid) AdjacentSum

func (g *Grid) AdjacentSum(pt Point) int

type Point

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

func P

func P(x, y int) Point

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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