package
0.0.0-20240704130330-202c463ba4d5
Repository: https://github.com/marjamis/advent-of-code.git
Documentation: pkg.go.dev

# Functions

Day10Part1 returns the cumalative score of all the corrupted lines based on the individual char scores.
Day10Part2 returns the middle score from all the incomplete scores after sorting.
Day11Part1 returns the number of flashes from the dumbo octopuses.
Day11Part2 returns the first step in which all dumbo octopuses flash at the same time.
Day12Part1 returns the number of paths from the start to the end based on the rules.
Day12Part2 returns the number of paths from the start to the end based on the updated rules.
Day13Part1 returns the calculated version for the number of dots visible after the first fold.
Day13Part2 displays the calculated version of the 8 letters (in ASCII picture format) which is the code for the thermal camera.
Day1Part1 returns the number of increases in depth compared to the previous reading.
Day1Part2 returns the number of increases in depth compared to the previous window (the sum of three in order readings).
Day2Part1 returns the position of the submarine based off of the provided command explanations.
Day2Part2 returns the position of the submarine based off of the updated command explanations.
Day3Part1 returns the power consumption of the submarine based off of the diagnostic report intput.
Day3Part2 returns the life support rating of the submarine based off of oxygen generator rating and the CO2 scrubber rating.
Day4Part1 takes the provided input, the bingo numbers and list of boards, and returns the score of the winning board.
Day4Part2 takes the provided input, the bingo numbers and list of boards, and returns the board that will win last (assuming the game kept playing) and returns this boards score.
Day5Part1 takes the input of vent lines (horizontal and vertical) and returns the count of locations with 2 or more vents.
Day5Part2 takes the input of vent lines (horizontal, vertical, and diagonal) and returns the count of locations with 2 or more vents.
Day6Part1 returns the number of fish.
Day6Part2 calculates the number of fish after the provided number of days.
Day7Part1 returns the position that will take the least amount of fuel.
Day7Part2 returns the position that will take the least amount of fuel based on the revised fuel calculations.
Day8Part1 returns the number of ouputs which would display the numbers 1, 4, 7, or 8.
Day8Part2 returns the calculated total of all of the outputs (i.e.
Day9Part1 returns the risk level based on the low points.
Day9Part2 returns the risk based on all the three largest basins sizes.

# Structs

Coordinates is a row/col position on a 2D matrix.
Filters is a struct to pass around functions signatures for the filters to allow for a generic implementation while calling specific filters.
Lanternfish contains the attributes of each inidividual Lanternfish.
Stack used as our Stack construct.

# Type aliases

Board layout.
Boards is a list of Board's.
Cave is an individual Node of the graph.
Caves is a map of all the caves in the puzzle.
OctopusEnergyMap is the 2d positioning of all dumbo octopuses.
Paper is the representation of the paper after each fold.
School contains all the Lanternfish that are born.
Segments provides a mapping of the original positions to the new positions.
VentMap is the 2d int array that represents the location of the heat vents.