advent-of-code
Advent of Code Solutions (by karjonas)
advent-2021
[Moved to: https://github.com/Crazytieguy/advent-of-code] (by Crazytieguy)
advent-of-code | advent-2021 | |
---|---|---|
6 | 19 | |
2 | 5 | |
- | - | |
6.6 | 6.8 | |
5 months ago | over 1 year ago | |
Rust | Rust | |
- | - |
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 2021-12-21.
-
-🎄- 2021 Day 22 Solutions -🎄-
Rust GitHub. My approach is to go through all cuboids and always remove their intersection with all previously added cuboids. Then, If it is a "on" cuboid it is added to the list of cuboids. This way no cuboids will overlap and I can sum all their volumes in the end.
-
-🎄- 2021 Day 19 Solutions -🎄-
Rust GitHub. Kinda ugly brute force solution which runs in ~10 sec.
-
-🎄- 2021 Day 18 Solutions -🎄-
Rust GitHub. This took me much longer that I care to admit. I started with a tree-based solution, tried a list, went back to tree and the back to the list again...
-
-🎄- 2021 Day 6 Solutions -🎄-
Rust GitHub
-
2020 Day 21 Solutions
GitHub.
-
2020 Day 20 Solutions
Rust GitHub. This took a very long time to solve, and the code is not very nice looking.
advent-2021
Posts with mentions or reviews of advent-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-23.
- -🎄- 2021 Day 24 Solutions -🎄-
- -🎄- 2021 Day 23 Solutions -🎄-
-
-🎄- 2021 Day 22 Solutions -🎄-
Rust https://github.com/Crazytieguy/advent-2021/blob/master/src/bin/day22/main.rs Imagining the geometry of this was very tricky for me. For a while I contemplated if calculating the intersection of each pair of cuboids would give me enough information to know how many cubes are on at the end, and finally decided that I would also have to calculate the intersections of those and so on, so I gave up. Instead I decided that my state will be a vector of cuboids that are garuanteed to be non overlapping, and on each command I would subtract the current cuboid from each of these non overlapping cuboids (leaving 1 to 6 cuboids depending on intersection), and finally either add in the current cuboid (for on command) or leave it out (for off).
- -🎄- 2021 Day 21 Solutions -🎄-
- -🎄- 2021 Day 20 Solutions -🎄-
- -🎄- 2021 Day 19 Solutions -🎄-
- -🎄- 2021 Day 18 Solutions -🎄-
- -🎄- 2021 Day 16 Solutions -🎄-
- -🎄- 2021 Day 15 Solutions -🎄-
- -🎄- 2021 Day 14 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code and advent-2021 you can also consider the following projects:
aoc2021 - My solutions for the 2021 Advent of Code
aoc2021 - Advent of Code 2021 - my answers
Advent-of-Code - My solutions for the Advent of Code puzzles (work in progress).
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
AdventOfCode2021
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
AdventOfCode2021.jl - Advent of Code 2021 in Julia
deno_aoc - 🎄 Advent of code solutions written in TypeScript for Deno.
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
aoc - Advent of Code - mscha's Perl 6 solutions
adventofcode - Solutions for problems from AdventOfCode.com
advent-of-code vs aoc2021
advent-2021 vs aoc2021
advent-of-code vs Advent-of-Code
advent-2021 vs advent-of-code-go
advent-of-code vs AdventOfCode2021
advent-2021 vs aoc2021
advent-of-code vs AdventOfCode2021.jl
advent-2021 vs deno_aoc
advent-of-code vs adventofcode
advent-2021 vs aoc
advent-of-code vs adventofcode
advent-2021 vs AdventOfCode2021.jl