advent-of-code/2021-python/solutions
Anders Ytterström 811d2cb224 Solve 2021:8 "Seven Segment Search"
For part 1, it took way longer than necessary since I read the
instructions over and over again. Gotta love AOC WOT.

Part 2 was a PITA. I got stuck at the last 2 examples since I at the
time did not find any clever way to determine which of the 2 outputs for
'1' mapped to c and f.

Since I already spent far too much time and effort, a try/except with
ValueError (digits.index will fail if c and f are flipped wrong) will do
for now.

There is probably a more efficient and smart way to do this.
2021-12-08 11:35:18 +01:00
..
__init__.py 🔧 Setup Advent of Code 2021 2021-10-22 17:17:55 +02:00
day_01.py Solve 2021:1 "Sonar sweep" 2021-12-01 06:38:45 +01:00
day_02.py Solve 2021:2 "Drive!" 2021-12-02 06:42:42 +01:00
day_03.py Solve 2021:3 "Binary Diagnostic" 2021-12-03 07:29:34 +01:00
day_04.py Solve 2021:4 "Giant squid" 2021-12-04 07:12:00 +01:00
day_05.py Solve 2021:5 "Hydrothermal Venture" 2021-12-05 08:30:54 +01:00
day_06.py Solve 2021:6 "Lanternfish" part 2 2021-12-06 07:49:46 +01:00
day_07.py Solve 2021:7 "The Treachery of Whales" 2021-12-07 09:47:54 +01:00
day_08.py Solve 2021:8 "Seven Segment Search" 2021-12-08 11:35:18 +01:00