⚠️ 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/7.
My programming language of choice is
python and all examples below are in python.
- Depth first search
- Possibly on part 1: Breadth first search