advent-of-code
aoc2021
advent-of-code | aoc2021 | |
---|---|---|
2 | 5 | |
3 | 1 | |
- | - | |
4.5 | 0.0 | |
over 2 years ago | over 2 years ago | |
Erlang | OCaml | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
advent-of-code
-
-π- 2021 Day 9 Solutions -π-
This was a pretty fun day! I'm very glad that I took the time to write a small utility module for handling multidimensional arrays in Erlang a few days ago: otherwise, trying to wrestle coΓΆrdinates would have quickly become painful. This was also my first time writing DFS in Erlang; a queue-based tail-recursive approach ended up being much cleaner than a simple recursive approach that used lists:foldl/3 to pass the modified matrix between neighbours. Writing the algorithm both was was definitely a great learning experience though!
-
-π- 2021 Day 1 Solutions -π-
Solution on GitHub
aoc2021
-
-π- 2021 Day 6 Solutions -π-
OCaml solution:
-
-π- 2021 Day 5 Solutions -π-
OCaml solution for the first part:
-
-π- 2021 Day 1 Solutions -π-
OCaml solutions using Core.
What are some alternatives?
adventofcode - Advent of Code challenge solutions
Advent_of_Code_2021_Solutions_Java - Personal AoC/2021 Solutions in Java
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
Advent-of-code - My solutions of adventofcode.com
Advent-of-Code - Advent of Code
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
aoc - Advent of Code solutions
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
advent-of-code - Advent Of Code Solutions
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
AoC-2021-rust
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/