package
0.0.0-20231218071854-f50ab9ba3a3b
Repository: https://github.com/simonski/aoc.git
Documentation: pkg.go.dev

# Functions

AOC_2020_01 is the entrypoint to the various attempts for day one.
AOC_2020_01_part1_attempt1 this is part 1 of day 1, attempt 1 a brute-force attempt which as the volume is small works fine we have an inner loop giving o(n^2) which again works but is not fast.
AOC_2020_01_part1_attempt2 in this atempt I preload an "inty" map affording go's own probably binsearch by keying on the int value itself this uses more memory (the inty map in addition to the list) but avoids an initial sort and binsearch I intend to do my own sort and binsearch as an attempt3.
AOC_2020_01_part2_attempt1 the second part of day 1, attempt1 this is a brute-force attempt that gets over the line in the spirit of make it work, make it fast, this is make it work so this is 3 inner loops, giving o(n^3) performance I believe - it works, it is not fast.
AOC_2020_02 is the entrypoint to the various attempts for day two.
AOC_2020_01_part1_attempt1 this is part 1 of day 1, attempt 1 a brute-force attempt which as the volume is small works fine we have an inner loop giving o(n^2) which again works but is not fast.
No description provided by the author
AOC_2020_01_part3_attempt1 this is part 1 of day 3, attempt 1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Finds the loop size or breaks after CIRCUIT_BREAKER times (1000).
No description provided by the author
Rotates the tile 90 degrees clockwise, removing any relationships this tile has.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPassportControlFromString constructs and populates a snowy field from the passed filename.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRule receives a line "arrival location: 46-401 or 418-964" and parses to Name, range1, range2.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTicket holds the rules to 395,342,197,865,990,525,912,377,278,897,799,366,464,689,398,901,597,204,667,546.
No description provided by the author
No description provided by the author
NewTobogganMap constructs a new empty snowy field.
NewTobogganMapFromFile constructs and populates a snowy field from the passed filename.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDay13FilePart2 returns two []int - one of the buses one of their indexes.
No description provided by the author
No description provided by the author
Rotates the tile 90 degrees clockwise, removing any relationships this tile has.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
20 wide.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
L.
.
No description provided by the author
?.
#.

# Structs

No description provided by the author
No description provided by the author
Bag is my own impl of a simple Tree I can walk later.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TobogganMap represents the whole snow field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TobogganMap represents the whole snow field.
TobogganMapRow represents a single line of snow and trees.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author