AoC2021
Advent of Code 2021 (by EragonpeerGynt)
advent-of-code-2021
Advent of Code 2021 Java 17 (by zebalu)
AoC2021 | advent-of-code-2021 | |
---|---|---|
4 | 12 | |
0 | 0 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | about 2 years ago | |
Elixir | Java | |
MIT License | Apache License 2.0 |
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.
AoC2021
Posts with mentions or reviews of AoC2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-15.
-
Need help with code efficiency (day 15 AoC, part 1 and 2)
Disclaimer: I am learning Elixir this year trough AoC so code quality is in a shape that could find a place on r/programinghorror I would like to ask with help optimising algorithm I made for solving today's (day 15, 2021) Advent of Code problem. I implemented Dijkstra's (I think) and first part already need 35+ seconds to get the resautls. This is the code I made but I don't know how to optimize it (Maps probably aren't the most efficient thing to use in code that goes that far into recursion), to reach some more normal execution times. I would like to not use 3rd party/external libraries if possible, but any help is appriciated.
-
-🎄- 2021 Day 10 Solutions -🎄-
Elixir Quite a fun little exercise today. Code is still ugly as death, but I finally feal like I can enjoy the language freely. On other note, how could I solve the problem with me having to push char at the amstart of array without overloading process_line/2 ? (Line 5)
-
-🎄- 2021 Day 7 Solutions -🎄-
elixir Probably not very efficient and quite ugly. But it works... If anyone has any sugestions how to make it better (how to become better @elixir) i would greatly appriciate it
-
-🎄- 2021 Day 3 Solutions -🎄-
My solution in elixir (github link) It's not the cleanest fastest solution probably but does the job well enough. Still fighting with language a bit and forgeting some things in it sometimes (first time using it)
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 2021-12-24.
-
-🎄- 2021 Day 25 Solutions -🎄-
Java (nothing special, simple implementation of the rules, I have only posted to fit for the rules here)
-
-🎄- 2021 Day 16 Solutions -🎄-
Java, the code is still a mess, but if you need some tips, it might help.
-
-🎄- 2021 Day 15 Solutions -🎄-
Java Using Dijsktra's alogorithm to find the cheapest path.
-
-🎄- 2021 Day 11 Solutions -🎄-
Java
-
-🎄- 2021 Day 10 Solutions -🎄-
Java if you are interested.
-
-🎄- 2021 Day 9 Solutions -🎄-
If you are using custom Coord objects, you could consider going in and making a map of coord to value. Saves a bunch of boundaries checks, as you can see in zebalu's solution (another comment in thread) https://github.com/zebalu/advent-of-code-2021/blob/master/src/main/java/io/github/zebalu/aoc2021/Day09.java
-
-🎄- 2021 Day 7 Solutions -🎄-
Java 17, could be shorter, but I find this more readable (Gauss has helped a lot.)
-
-🎄- 2021 Day 6 Solutions -🎄-
Java nothing special:
-
-🎄- 2021 Day 5 Solutions -🎄-
Java 17, if you are looking for one. (However, it is not really a Java community...) I was really lost in diagonals, and it is not an "elegant" or less then 100 bytes of code solution, but I hope it is readable, if you are lost...
-
-🎄- 2021 Day 3 Solutions -🎄-
Hi! Nothing special, I might refactor later (since it is very rushed together), but Java 17, if you are interested.