advent-of-code-2021
zig solutions to advent of code 2021 (by jchevertonwynne)
advent-2021
[Moved to: https://github.com/Crazytieguy/advent-of-code] (by Crazytieguy)
advent-of-code-2021 | advent-2021 | |
---|---|---|
16 | 19 | |
3 | 5 | |
- | - | |
0.0 | 6.8 | |
over 1 year ago | over 1 year ago | |
Zig | 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-2021
Posts with mentions or reviews of advent-of-code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-06.
- 2015-2022: What solution to a problem are you the most proud of
- [2021 day 6] What's you're fastest solution?
-
[2021 Day 16] [Rust] A stupidly overbuilt solution (I even found a rustc ICE)
nice work! i had been trying to write zero alloc solutions when possible, but i had missed that it was possible on this one. here's my zig translation, it runs in about 15us on my m1 macbook / WSL 10850k. there are no iterators in zig so i had to write that myself, but i think my final solution reads reasonably well
- -🎄- 2021 Day 21 Solutions -🎄-
- -🎄- 2021 Day 20 Solutions -🎄-
- -🎄- 2021 Day 19 Solutions -🎄-
- -🎄- 2021 Day 18 Solutions -🎄-
- -🎄- 2021 Day 17 Solutions -🎄-
- -🎄- 2021 Day 16 Solutions -🎄-
- -🎄- 2021 Day 15 Solutions -🎄-
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-2021 and advent-2021 you can also consider the following projects:
advent-of-code-2021-rust
aoc2021 - Advent of Code 2021 - my answers
swift-algorithms - Commonly used sequence and collection algorithms for Swift
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
aoc - Advent of Code - mscha's Perl 6 solutions
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
advent-of-code-2021 - Code I used for solving https://adventofcode.com/2021
deno_aoc - 🎄 Advent of code solutions written in TypeScript for Deno.
adventofcode2021 - Advent of Code 2022
advent-2021-kotlin - :christmas_tree: Advent of Code 2021: Solutions in Kotlin
AdventOfCode2021.jl - Advent of Code 2021 in Julia
advent-of-code-2021 vs advent-of-code-2021-rust
advent-2021 vs aoc2021
advent-of-code-2021 vs swift-algorithms
advent-2021 vs advent-of-code-go
advent-of-code-2021 vs aoc
advent-2021 vs aoc2021
advent-of-code-2021 vs advent-of-code-2021
advent-2021 vs deno_aoc
advent-of-code-2021 vs adventofcode2021
advent-2021 vs aoc
advent-of-code-2021 vs advent-2021-kotlin
advent-2021 vs AdventOfCode2021.jl