advent-of-code
Solutions for Advent of Code problems in various languages. (by Andrew-William-Smith)
advent-of-code-2021
zig solutions to advent of code 2021 (by jchevertonwynne)
advent-of-code | advent-of-code-2021 | |
---|---|---|
2 | 16 | |
3 | 3 | |
- | - | |
4.5 | 0.0 | |
over 2 years ago | over 1 year ago | |
Erlang | Zig | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of advent-of-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-08.
-
-π- 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
advent-of-code-2021
Posts with mentions or reviews of advent-of-code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-06.
- 2015-2022: What solution to a problem are you the most proud of
- [2021 day 6] What's you're fastest solution?
-
[2021 Day 16] [Rust] A stupidly overbuilt solution (I even found a rustc ICE)
nice work! i had been trying to write zero alloc solutions when possible, but i had missed that it was possible on this one. here's my zig translation, it runs in about 15us on my m1 macbook / WSL 10850k. there are no iterators in zig so i had to write that myself, but i think my final solution reads reasonably well
- -π- 2021 Day 21 Solutions -π-
- -π- 2021 Day 20 Solutions -π-
- -π- 2021 Day 19 Solutions -π-
- -π- 2021 Day 18 Solutions -π-
- -π- 2021 Day 17 Solutions -π-
- -π- 2021 Day 16 Solutions -π-
- -π- 2021 Day 15 Solutions -π-