⚠️ 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/6.
My programming language of choice is python
and all examples below are in python.
Key learning
- Sets and dictionaries
This puzzle teaches us how to counting unique elements in lists.