package
0.0.0-20240704130330-202c463ba4d5
Repository: https://github.com/marjamis/advent-of-code.git
Documentation: pkg.go.dev
# Functions
Day10Part1 returns the signal strength as per the calculation.
Day10Part2 returns the rune map (i.e.
Day11Part1 returns the level of monkey business after 20 rounds.
Day11Part2 returns the level of monkey business after 10,000 rounds.
Day12Part1 returns the shortest from to E from S.
Day12Part2 returns the shortest path to E from any a height, this includes S, position.
Day1Part1 returns the total amount of calories from the one elf.
Day1Part2 returns the total amount of calories from the top three elfs.
Day2Part1 returns the points scored based on the exact actions provided.
Day2Part2 returns the points scored based on the plan provided.
Day3Part1 return the total priority value across all rucksacks.
Day3Part2 returns the total of the priorities of the badge per elf group.
Day4Part1 returns a count of pairs that have sections that are fully contained.
Day4Part2 returns count of all pairs with any overlap.
Day5Part1 returns the crates at the top of each stack using the original CrateMover 9000 capabilities.
Day5Part2 returns the crates at the top of each stack using the new CrateMover 9001 capabilities.
Day6Part1 returns the start of the packet index.
Day6Part2 returns the start of the message index.
Day7Part1 returns the total of all the directories smaller than the value defined in the const part1SmallerThan.
Day7Part2 returns the optimal directory to delete which is the smallest directory while covering the additional space that needs to be deleted.
Day8Part1 returns the number of tree positions that can see around it.
Day8Part2 returns the highest scenic score a tree position has.
Day9Part1 returns the unique positions for a 2 knot'ed rope.
Day9Part2 returns the unique positions for a 10 knot'ed rope.
DisplayFrame displays the rendered frame to stdout.
# Structs
DirectoryDetails contains all the data required for a directory.
FileDetails contains all the data required for a file.
Monkey hold keys information about the monkeys who take and throw items.
RopePosition contains the row and col of where the rope is.
TreeCoordinates has details about where the tree is position in the grid.