advent-of-code
Solutions for Advent of Code problems in various languages. (by Andrew-William-Smith)
adventofcode
Advent of code solutions (by mathsaey)
advent-of-code | adventofcode | |
---|---|---|
2 | 55 | |
3 | 20 | |
- | - | |
4.5 | 7.8 | |
over 2 years ago | 4 months ago | |
Erlang | Elixir | |
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
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-βοΈ- 2023 Day 10 Solutions -βοΈ-
Part one went fairly fast, but spent quite some time on getting part two right. I settled on the approach of just iterating over the grid and using a boolean to see if I had to count elements or not. However, I had some issues figuring out when to swap, this post by /u/rogual helped me figure it out. After that I lost quite some time on an error that only occurred with my input, not with the example input. It turned out that my loop (which I take form my p1 solution) didn't include the start node, which caused all sorts of counting issues.
-
-βοΈ- 2023 Day 4 Solutions -βοΈ-
[Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex
- -π- 2022 Day 25 Solutions -π-
- -π- 2022 Day 24 Solutions -π-
- -π- 2022 Day 23 Solutions -π-
- -π- 2022 Day 22 Solutions -π-
- -π- 2022 Day 21 Solutions -π-
- -π- 2022 Day 20 Solutions -π-
- -π- 2022 Day 19 Solutions -π-
- -π- 2022 Day 18 Solutions -π-