adv2023

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

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Day12Table [maxStrLen + 1][maxNumLen + 1]int
View Source
var Funs []func()

Functions

func AssignFuns

func AssignFuns()

func Day1

func Day1()

func Day10

func Day10()

func Day10Floodfill

func Day10Floodfill()

func Day11

func Day11()

func Day12

func Day12()

func Day12Match

func Day12Match(str string, num int) bool

func Day12Solve

func Day12Solve(str string, nums []int) int

func Day13

func Day13()

func Day14

func Day14()

func Day14P2

func Day14P2(grid [][]byte, idx [][]int) int

func Day15

func Day15()

func Day16

func Day16()

func Day17

func Day17()

func Day18

func Day18()

func Day19

func Day19()

func Day2

func Day2()

func Day20

func Day20()

func Day21

func Day21()

func Day22

func Day22()

func Day23

func Day23()

func Day24

func Day24()

func Day25

func Day25()

func Day25ReadInput

func Day25ReadInput() lib.AdjList

func Day3

func Day3()

func Day4

func Day4()

func Day5

func Day5()

func Day5a

func Day5a(values []int, mps [][][3]int)

func Day5b

func Day5b(values []int, mps [][][3]int)

func Day6

func Day6()

func Day7

func Day7()

func Day8

func Day8()

func Day8Input

func Day8Input() ([]string, func(string, int) string, int)

func Day8a

func Day8a(next func(string, int) string)

func Day8b

func Day8b(locs []string, next func(string, int) string, N int)

func Day9

func Day9()

func Digits

func Digits(str string) []int

func DigitsWithWords

func DigitsWithWords(str string) []int

func Extrapolate

func Extrapolate(xs []int) [2]int

func GamePossible

func GamePossible(str string) int

func Load

func Load(grid [][]byte) int

func MaxColor

func MaxColor(str string) [3]int

func MinPossible

func MinPossible(str string) int

func MoveNorthSouth

func MoveNorthSouth(grid [][]byte, rowIdx []int, dir int)

func MoveWestEast

func MoveWestEast(grid [][]byte, colIdx []int, dir int)

func ParsePart19

func ParsePart19(s string, fields string) [4]int

func Symmetries

func Symmetries[T comparable](xs []T) []int

Types

type Rule19

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

func ParseWf19

func ParseWf19(s string, fields string) (string, []Rule19, string)

func (Rule19) String

func (r Rule19) String() string

Jump to

Keyboard shortcuts

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