advent-of-code
Advent of Code (by MichaelBrunn3r)
adventOfCode
By matheusstutzel
advent-of-code | adventOfCode | |
---|---|---|
7 | 17 | |
1 | 6 | |
- | - | |
9.5 | 7.5 | |
5 months ago | 5 months ago | |
Rust | Python | |
- | - |
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 2023-12-07.
-
-❄️- 2023 Day 8 Solutions -❄️-
[LANGUAGE: Rust]I was running in circles trying to solve this one.First part was easy enough. I was running into an infinite loop in part 2 and then sadly was spoilered the LCM solution. At least I head fun optimizing the code :)Part 2: I converted the 3 char node names into u16 keys. I store the keys of the left/right successors of each node in a massive array, which I can simply index with they node keys. This proved significantly faster than a HashMap. While converting lines into nodes, I store all keys of nodes ending in an A in a starting nodes array. Next, I calcualte the cycle length for each starting row and then calculating the common LCM. I used rayon to speed things up with multithreading (minor improvement)[Code]
-
-❄️- 2023 Day 7 Solutions -❄️-
38.659 µs / 41.981 µs after removing some allocations and custom input parsing [Code].
- -❄️- 2023 Day 6 Solutions -❄️-
- -❄️- 2023 Day 5 Solutions -❄️-
- -❄️- 2023 Day 4 Solutions -❄️-
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-07.
-
-❄️- 2023 Day 8 Solutions -❄️-
Part 1 straightforward implementation. Treat it as a graph and just follow the instructions.
-
-❄️- 2023 Day 7 Solutions -❄️-
Part 1 -> simple implementation, sort the list using a custom function. The main component is the function extractInfo which returns the number of pairs and the number of times the card with the most duplicates appears.
-
-❄️- 2023 Day 6 Solutions -❄️-
Part 1/Part 2 the only difference between them is the parse. Solved using Bhaskara formula
-
-❄️- 2023 Day 5 Solutions -❄️-
Part 1 brute force mapping each seed
-
-❄️- 2023 Day 4 Solutions -❄️-
Part 1: set intersection
-
-❄️- 2023 Day 1 Solutions -❄️-
Part 1 is nothing fancy, just scanned the data
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code and adventOfCode you can also consider the following projects:
adventofcode2023 - https://adventofcode.com
adventofcode
advent-of-code
advent-code-challenges
advent-of-code - Solutions to Advent of Code (https://adventofcode.com/)
AoC2023 - Advent of Code 2023
advent-of-code-2023
aoc23 - My solutions to Advent of Code 2023
advent-of-code-2023
advent-of-code-2023
aoc - Advent of Code
AdventOfCode2023
advent-of-code vs adventofcode2023
adventOfCode vs adventofcode
advent-of-code vs advent-of-code
adventOfCode vs advent-code-challenges
advent-of-code vs advent-of-code
adventOfCode vs AoC2023
advent-of-code vs advent-of-code-2023
adventOfCode vs aoc23
advent-of-code vs advent-of-code-2023
adventOfCode vs advent-of-code-2023
advent-of-code vs aoc
adventOfCode vs AdventOfCode2023