⚠️ SPOILER ALERT ⚠️
This is a post with my solutions and learning from the puzzle. Don’t continue reading if you haven’t tried the puzzle on your own yet.
If you want to do the puzzle, visit adventofcode.com/2020/day/9.
My programming language of choice is python
and all examples below are in python.
Key learning
- Window sliding
This puzzle teaches us to slide through an list of values using a window. It is possible to solve with…