Solutions for Advent of Code
Find a file
Anders Ytterström 99f5385f25 Solve 2021:3 "Binary Diagnostic"
Yes, I do "".join(). Python is not always beautiful.

I began reusing part 1 for part 2, until I realised you cannot reuse the
Counter.most_common, and you need the actual values to be able to se
equal occourences.

I probably lost 5-15 minutes just to dribble with 3 levels of nested
objects. In GMT+1 before coffee, that cost me.

Part 2 was way uglier before some well motivated refactoring. Since all
tests and expected output were in place, refactoring was easy.
2021-12-03 07:29:34 +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:3 "Binary Diagnostic" 2021-12-03 07:29:34 +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.