advent-of-code
Solutions for Advent of Code problems in various languages. (by Andrew-William-Smith)
adventofcode
My solutions to the Advent of Code challenges (by djotaku)
advent-of-code | adventofcode | |
---|---|---|
2 | 69 | |
3 | 14 | |
- | - | |
4.5 | 8.6 | |
over 2 years ago | 5 months ago | |
Erlang | Python | |
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 2022-12-24.
-
[2023 Day 04 (Part 2)][Python] Need help with recursion
I tried to model my code https://github.com/djotaku/adventofcode/blob/6c5d9c6e4f2dcbbbf7383b2923829c210faab028/2023/Day_04/Python/day_04.py (specifically lines 42-56) on my solution for Handy Haversacks in 2020 Day 7, but I'm ending up with an answer of 1 instead of 30. It seems like the problem is that my totals are not carrying up the stack, but I may have something else wrong.
- -π- 2022 Day 25 Solutions -π-
- -π- 2022 Day 20 Solutions -π-
- [2022 Day 18 (Part 1)][Python] What is wrong with my math?
- [2022 Day 15 (Part 1)] [Python] Need help with my algorithm
- -π- 2022 Day 14 Solutions -π-
-
-π- 2022 Day 13 Solutions -π-
My code is here https://github.com/djotaku/adventofcode/blob/66d74babd2ed37f56858096bc5598149448b6839/2022/Day_13/Python/solution.py
- [2016 Day 25 (Part 1)][Python] I keep getting 00000 or 111111
- -π- 2022 Day 12 Solutions -π-
- -π- 2022 Day 11 Solutions -π-