Category: Advent of Code
AoC 2022, Day three - Part Two
Find the item type that is common between two or more elves.
Bart Kessels 6 min
Trying to solve puzzles during Christmas time.
Find the item type that is common between two or more elves.
Find the same items that are stored in the two compartments of each rucksack.
Turn the input into a list of rucksacks.
Calculate the strategy we need to play to get the expected outcome based on our opponents move.
Get the outcome of each rock-paper-scissors match.
Turn the input into a list of rock-paper-scissor games.
Calculate which elve is carrying the most calories
Count the calories that each elve is carrying
Parse the input for day one into a table of elves.