Solutions for Advent of Code
Find a file
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
2015-elixir Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2016-python Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2017-python Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2018-elixir Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2018-python Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2019-elixir Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2020-elixir Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2020-python Add solutions from AOC 2016-2020 2021-11-01 16:45:03 +01:00
2021-elixir 🔧 Setup Advent of Code 2021 2021-10-22 17:17:55 +02:00
2021-python Solve 2021:8 "Seven Segment Search" 2021-12-08 11:35:18 +01:00
README.md Create README.md 2021-11-04 08:48:22 +01:00

Advent of Code 2015

Here all solved puzzles for Advent of Code are kept for reference. Most solutions are written in Python, but there are also solutions written in Elixir.

  • 20162020 are squashed in version control, so the original thoughts/rants about the solution are forgotten for future generations.
  • 2021 onwards will have each solution as a separate commit.