An open API service indexing awesome lists of open source software.

https://github.com/victor-gp/advent-of-code-2021

solutions to Advent of Code 2021 in five languages :star::star:
https://github.com/victor-gp/advent-of-code-2021

advent-of-code advent-of-code-2021 haskell python ruby rust scala

Last synced: 3 months ago
JSON representation

solutions to Advent of Code 2021 in five languages :star::star:

Awesome Lists containing this project

README

          

# Advent of Code 2021 :christmas_tree:

Solutions to the [Advent of Code 2021](https://adventofcode.com/2021) puzzles. With an emphasis on readability, domain modeling and code reuse between parts 1 and 2 of each day.

Written in five languages: Haskell, Python, Ruby, Rust and Scala. Plus a Prolog random wheel to rule them all.

## Index

- day 1: [puzzle](./puzzles.md#----day-1-sonar-sweep----), [solution.hs](./solutions/haskell/app/Day01.hs) :star::star:
- day 2: [puzzle](./puzzles.md#----day-2-dive----), [solution.rs](./solutions/rust/src/bin/day02.rs) :star::star:
- day 3: [puzzle](./puzzles.md#----day-3-binary-diagnostic----), [solution.py](./solutions/python/day03.py) :star::star:
- day 4: [puzzle](./puzzles.md#----day-4-giant-squid----), [solution.scala](./solutions/scala/src/main/scala/Day04.scala) :star::star:
- day 5: [puzzle](./puzzles.md#----day-5-hydrothermal-venture----), [solution.rb](./solutions/ruby/day05.rb) :star::star:
- day 6: [puzzle](./puzzles.md#----day-6-lanternfish----), [solution.py](./solutions/python/day06.py) :star::star:
- day 7: [puzzle](./puzzles.md#----day-7-the-treachery-of-whales----), [solution.scala](./solutions/scala/src/main/scala/Day07.scala) :star::star:
- day 8: [puzzle](./puzzles.md#----day-8-seven-segment-search----)

## License

MIT (c) Víctor González Prieto

The puzzle statements in `puzzles.md` are the copyright of [Eric Wastl](https://adventofcode.com/2021/about), who makes Advent of Code.