Binary Diagnostic: Day 3: Advent of Code 2021
Check out my old blog on Day 1 and Day 2 to follow this series.
If you are not familiar with Advent of Code, I highly recommend solving it yourself before looking at these solutions.
Binary Diagnostic
Day 3: In this problem, you need to find the power consumption of the submarine by multiplying gamma and epsilon rates.