My (attempted) solutions to Advent of Code. https://adventofcode.com/
Find a file
2020-12-02 14:45:52 +09:00
day1 Add simpler implementation for Day1 2020-12-01 16:48:01 +09:00
day2 typo 2020-12-02 14:45:52 +09:00
README.md Day 2 Part 2 2020-12-02 14:43:05 +09:00

AdventOfCode2020

My (attempted) solutions to Advent of Code 2020 in Elixir.

image

Strategy

If this year is like 2018, the last time I did this, each problem will be split into multiple parts. Later parts can result in considerable refactoring of earlier parts, so I will split each part into its own file, like this:

  • day1/
    • day1.exs (when the solution is only in one part)
  • day2/
    • day2part1.exs
    • day2part2.exs

If I get stuck, my instinct is to be persistent and take as long as it takes to solve the problem. However I think this year I don't want the pressure of days piling up and this is supposed to be fun, so I will probably limit each problem to one day, and then come back to those that I had problems with later.

No checking other people's solutions until I've solved it myself - or otherwise given up. I will not check in code that was written as a result of seeing other people's solutions or reading forums, etc.