AoC2021
Advent of Code 2021 (by EragonpeerGynt)
aoc-2021
Advent of Code 2021 with C#/LINQ (by jasonincanada)
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)
aoc-2021
Posts with mentions or reviews of aoc-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-16.
-
-🎄- 2021 Day 17 Solutions -🎄-
Basic C# solution with a straightforward try-everything simulation. This one could've been called 50 Thousand Iterations Under the Sea
-
-🎄- 2021 Day 15 Solutions -🎄-
C# solution
-
-🎄- 2021 Day 14 Solutions -🎄-
C# solution, I keep letter pair counts in a square grid and a separate map for individual letter counts
-
-🎄- 2021 Day 12 Solutions -🎄-
C# solution with basic graph search. I track the step counts to each cave and decide which next caves to take based on them, and prune it after returning from a recursive call to SearchFrom
-
-🎄- 2021 Day 10 Solutions -🎄-
C# solution with a straightforward stack-based approach. I modeled sum types using abstract record on line 62 to handle the three different return values from the processing function
-
-🎄- 2021 Day 9 Solutions -🎄-
C# solution, simple flood-fill type algo. I found a use for C# 9.0's record types, explained in the blurb at the top of the file
-
-🎄- 2021 Day 8 Solutions -🎄-
C# solution with a manual deduction process (one of many possible no doubt) that I figured out in the hours after midnight, then I slept on it and it took all morning to actually code the thing, but I like the result. Again a sprinkling of LINQ makes it bearable to write and read
-
-🎄- 2021 Day 7 Solutions -🎄-
C# code tries all positions between first and last crab
-
-🎄- 2021 Day 6 Solutions -🎄-
C# solution same as most others but with a bit of LINQ
-
-🎄- 2021 Day 5 Solutions -🎄-
C# nothing noteworthy other than LINQ saving the day again