My solution to adventofcode 2021.
Language: Java
IDE: Visual Studio Code
Challenge: https://adventofcode.com/2021/day/1
Solution: SonarSweeper.java
How many measurements are larger than the previous measurement?
How many sums are larger than the previous sum?
Challenge: https://adventofcode.com/2021/day/2
Solution: SubmarinePilot.java
What do you get if you multiply your final horizontal position by your final depth?
What do you get if you multiply your final horizontal position by your final depth?
Challenge: https://adventofcode.com/2021/day/3
Solution: SubmarineDiagnostor.java
What is the power consumption of the submarine?
What is the life support rating of the submarine?
Challenge: https://adventofcode.com/2021/day/4
Solution: BingoSubsystem.java
What will your final score be if you choose that board?
Once it wins, what would its final score be?
Challenge: https://adventofcode.com/2021/day/5
Solution: HydrothermalVentSaver.java
Consider only horizontal and vertical lines. At how many points do at least two lines overlap?
Consider all of the lines. At how many points do at least two lines overlap?
Challenge: https://adventofcode.com/2021/day/6
Solution: LanternfishModel.java
How many lanternfish would there be after 80 days?
How many lanternfish would there be after 256 days?
Challenge: https://adventofcode.com/2021/day/7
Solution: CrabSubmarineFuelSaver.java
How much fuel must they spend to align to that position?
How much fuel must they spend to align to that position?
Challenge: https://adventofcode.com/2021/day/8
Solution: SevenSegmentDecoder.java
In the output values, how many times do digits 1, 4, 7, or 8 appear?
What do you get if you add up all of the output values?
Challenge: https://adventofcode.com/2021/day/9
Solution: HeightmapReader.java
What is the sum of the risk levels of all low points on your heightmap?
What do you get if you multiply together the sizes of the three largest basins?
Challenge: https://adventofcode.com/2021/day/10
Solution: SyntaxScorer.java
What is the total syntax error score for those errors?
Find the completion string for each incomplete line, score the completion strings, and sort the scores. What is the middle score?
Challenge: https://adventofcode.com/2021/day/11
Solution: OctopusFlashNavigator.java
How many total flashes are there after 100 steps?
What is the first step during which all octopuses flash?
Challenge: https://adventofcode.com/2021/day/12
Solution: PathExplorer.java
How many paths through this cave system are there that visit small caves at most once?
Given these new rules, how many paths through this cave system are there?
Challenge: https://adventofcode.com/2021/day/13
Solution: ManualDecoder.java
How many dots are visible after completing just the first fold instruction on your transparent paper?
What code do you use to activate the infrared thermal imaging camera system?
Challenge: https://adventofcode.com/2021/day/14
Solution: PolymerFactory.java
10 steps - What do you get if you take the quantity of the most common element and subtract the quantity of the least common element?
40 steps - What do you get if you take the quantity of the most common element and subtract the quantity of the least common element?