/advent-of-code-2021

My take on Advent of Code 2021 in Elixir

Primary LanguageElixir

Aoc2021

That's my take at Advent of Code 2021 using Elixir.

Running the code.

  • Have Elixir and Erlang installed.
  • Simply open a terminal and execute examples, like this:
iex -S mix
iex> Day1.run("data/1/example.txt")
iex> Day1.run("data/1/input.txt")
iex> Day1.run_part_two("data/1/input.txt")