advent-of-code-2022
By azihassan
adventofcode
adventofcode.com solutions (by linl33)
advent-of-code-2022 | adventofcode | |
---|---|---|
8 | 25 | |
0 | 2 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | 5 months ago | |
D | Java | |
- | - |
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-2022
Posts with mentions or reviews of advent-of-code-2022.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-13.
-
-π- 2022 Day 14 Solutions -π-
Slow dlang solution that simulates sand drops one grain at a time, one pixel at a time. Here's the main loop for part 2. The occupied[grain] = true assignment is due to the fact that the standard library doesn't have a hashset (to my knowledge), so instead I'm putting Points in an associative array while discarding the values.
-
-π- 2022 Day 13 Solutions -π-
Dlang solution, using JSON parsing from the standard library. At first I misunderstood the problem and kept getting failures in the second pair. I thought [2,3,4] vs [4] meant that the right list will run out of items after having successfully compared 2 and 4, but then I learned that this would only happen if 2 and 4 were equal (thanks to this thread). This made me realize that a binary comparison wasn't enough and pushed me to write the convoluted ternary comparison function below :
-
-π- 2022 Day 12 Solutions -π-
Dlang solution using BFS. Relevant part :
-
-π- 2022 Day 11 Solutions -π-
Dlang solution as usual, here's the class that handles monkey business :
-
-π- 2022 Day 10 Solutions -π-
Dlang solution. For part 2 I initially thought that the X register contains values exceeding 40, so I kept appending pixels to the CRT while comparing them to the sprite, and in the end I printed the string in chunks of 40. Only later did I realize my mistake
-
-π- 2022 Day 9 Solutions -π-
Dlang bruteforce solution. For some reason I thought the rope was 9 knots long and kept getting off by one results. Relevant part 2 portion :
-
-π- 2022 Day 8 Solutions -π-
Dlang bruteforce solution
-
-π- 2022 Day 7 Solutions -π-
Dlang solution, part 2. I'm embarrassed by this code but I'm sharing it because it took a lot of effort to write it. Previous solutions are available in this repo
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-10.
- -βοΈ- 2023 Day 11 Solutions -βοΈ-
- -βοΈ- 2023 Day 8 Solutions -βοΈ-
- -βοΈ- 2023 Day 6 Solutions -βοΈ-
- -βοΈ- 2023 Day 1 Solutions -βοΈ-
- -π- 2022 Day 23 Solutions -π-
- -π- 2022 Day 21 Solutions -π-
- -π- 2022 Day 20 Solutions -π-
- -π- 2022 Day 14 Solutions -π-
- -π- 2022 Day 13 Solutions -π-
- -π- 2022 Day 12 Solutions -π-
What are some alternatives?
When comparing advent-of-code-2022 and adventofcode you can also consider the following projects:
AdventOfCode
advent2022
advent-of-code-2021
advent-of-code - Advent of Code solutions in JS
aoc - KlongPy Advent of Code (AoC) solutions
aoc2022
advent-of-code - Advent of Code with JS
adventofcode - My solutions to the Advent of Code challenges
adventOfCode - Advent of code solutions, probably mostly in C++, but maybe in Rust in the (near) future.
AdventOfCode-2021
AdventOfCode2022 - LΓΆsungen fΓΌr Advent of Code 2022 https://adventofcode.com/2022
advent-of-code - My solutions for Advent of Code challenges.
adventofcode vs AdventOfCode
adventofcode vs advent2022
adventofcode vs advent-of-code-2021
adventofcode vs advent-of-code
adventofcode vs aoc
adventofcode vs aoc2022
adventofcode vs advent-of-code
adventofcode vs adventofcode
adventofcode vs adventOfCode
adventofcode vs AdventOfCode-2021
adventofcode vs AdventOfCode2022
adventofcode vs advent-of-code