Member-only story
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.
Now, the second part comes with little more complexity. You need to calculate the life support rating by multiplying the oxygen generator rating by the CO2 scrubber rating.
Note: Make sure to use your inputs to generate the answer.
Thank you!