advent-of-code/2021-python/tests
Anders Ytterström c0d352cdf1 Solve 2021:12 "Passage Pathing"
I struggled a lot with the direction, but realised way too much later
that the mappings are bidirectional.

Part 2 was exceptionally hard, but I realised early that the order did
not matter and that a simple boolean lock was all that was needed. The
challenge was to know when to watch for duplicates.

The seen was initially a set, but since new sets must be sent instead of
references, a list is used instead to be able to use the seen + [] hack.
2021-12-12 14:39:11 +01:00
..
__init__.py 🔧 Setup Advent of Code 2021 2021-10-22 17:17:55 +02:00
test_day_01.py Solve 2021:1 "Sonar sweep" 2021-12-01 06:38:45 +01:00
test_day_02.py Solve 2021:2 "Drive!" 2021-12-02 06:42:42 +01:00
test_day_03.py Solve 2021:3 "Binary Diagnostic" 2021-12-03 07:29:34 +01:00
test_day_04.py Solve 2021:4 "Giant squid" 2021-12-04 07:12:00 +01:00
test_day_05.py Solve 2021:5 "Hydrothermal Venture" 2021-12-05 08:30:54 +01:00
test_day_06.py Solve 2021:6 "Lanternfish" part 2 2021-12-06 07:49:46 +01:00
test_day_07.py Solve 2021:7 "The Treachery of Whales" 2021-12-07 09:47:54 +01:00
test_day_08.py Solve 2021:8 "Seven Segment Search" 2021-12-08 11:35:18 +01:00
test_day_09.py Solve 2021:9 "Smoke Basin" part 2 2021-12-09 11:00:28 +01:00
test_day_10.py Solve 2021:10 "Syntax Scoring" 2021-12-10 13:27:55 +01:00
test_day_11.py Solve 2021:11 "Dumbo Octopus" 2021-12-11 09:36:09 +01:00
test_day_12.py Solve 2021:12 "Passage Pathing" 2021-12-12 14:39:11 +01:00