advent-of-code
Advent of Code (by MichaelBrunn3r)
AOC2023
My code for y2023 AdventOfCode (by vorber)
advent-of-code | AOC2023 | |
---|---|---|
7 | 7 | |
1 | 0 | |
- | - | |
9.5 | 8.4 | |
5 months ago | 6 months ago | |
Rust | F# | |
- | - |
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 -❄️-
AOC2023
Posts with mentions or reviews of AOC2023.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
- -❄️- 2023 Day 9 Solutions -❄️-
-
-❄️- 2023 Day 8 Solutions -❄️-
Can check it here: https://github.com/vorber/AOC2023/blob/main/src/day8/Program.fs
-
-❄️- 2023 Day 7 Solutions -❄️-
[LANGUAGE:F#]https://github.com/vorber/AOC2023/blob/main/src/day7/Program.fsAfter the difficulty roller-coaster of the previous days I expected this one to be a bit more challenging :)
- -❄️- 2023 Day 6 Solutions -❄️-
- -❄️- 2023 Day 5 Solutions -❄️-
-
[2023 Day 3][Prolog] Bye guys see you next year
Did day 3 in F# without using 2d arrays (or explicit loops, or recursive calls). All the information you need is very local - you only need to look back and forward at most 1 line, so as soon as you can transform your sequence of lines into sequence of 3-line windows - you don't need 2d anymore. Can check it out here: https://github.com/vorber/AOC2023/blob/main/src/day3/Program.fs Keep in mind that this is only my 3rd day of using F#
What are some alternatives?
When comparing advent-of-code and AOC2023 you can also consider the following projects:
adventofcode2023 - https://adventofcode.com
Adevnt-of-Code-in-Rust - Solutions to Advent of Code puzzles in Rust :crab:.
advent-of-code
aoc-2023 - My Advent of Code 2023 Solutions [Moved to: https://github.com/AJMansfield/aoc]
advent-of-code - Solutions to Advent of Code (https://adventofcode.com/)
advent-of-code-2023 - My javascript solutions for Advent of Code 2023 - feedback is welcome
advent-of-code-2023
advent_of_code - C++23 solutions to advent of code puzzles -- various years complete.
advent-of-code-2023
advent-of-code
adventOfCode
advent-of-code - Advent of Code 2023 workspace
advent-of-code vs adventofcode2023
AOC2023 vs Adevnt-of-Code-in-Rust
advent-of-code vs advent-of-code
AOC2023 vs aoc-2023
advent-of-code vs advent-of-code
AOC2023 vs advent-of-code-2023
advent-of-code vs advent-of-code-2023
AOC2023 vs advent_of_code
advent-of-code vs advent-of-code-2023
AOC2023 vs advent-of-code
advent-of-code vs adventOfCode
AOC2023 vs advent-of-code