advent-of-code-2021
ð My Advent of Code solutions in Rust. http://adventofcode.com/2021 (by timvisee)
Advent_of_Code
My Advent of Code solutions. (by Farbfetzen)
Our great sponsors
advent-of-code-2021 | Advent_of_Code | |
---|---|---|
14 | 14 | |
240 | 7 | |
- | - | |
2.6 | 3.7 | |
5 months ago | 6 months ago | |
Rust | Python | |
GNU General Public License v3.0 only | MIT License |
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-03-03.
-
Demystifying bitwise operations, a gentle C tutorial
Some very interesting advent of code contributions written in Rust, available on github, use bitwise operations. Shout out to Tim Visee! https://github.com/timvisee/advent-of-code-2021/blob/master/...
-
Bugs that the Rust compiler catches for you
This may be the closest thing I've personally seen: https://github.com/timvisee/advent-of-code-2021
-
-ð- 2021 Day 16 Solutions -ð-
Part 2 0.022ms (22Ξs)
-
-ð- 2021 Day 15 Solutions -ð-
Part 1 1.05ms
- [2021 Day 12 Part 2] Has somebody found a sub 1s solution for part 2?
-
-ð- 2021 Day 12 Solutions -ð-
Part 1 0.861ms (861Ξs)
-
-ð- 2021 Day 11 Solutions -ð-
See https://github.com/timvisee/advent-of-code-2021/blob/master/runner/src/bin/bench.rs
- [2021 Day 9] Part 1 - 48 min to get it to work. I should go back to Python for these
-
-ð- 2021 Day 6 Solutions -ð-
Part 1 0.0027ms (2.7Ξs)
-
-ð- 2021 Day 5 Solutions -ð-
The orientation calculation could be done by matrix indexes operations https://github.com/FlakM/aoc2021/blob/main/day5/task1/src/main.rs and then its easier to create ranges. You can also use some clever crates and get some calculations for free https://github.com/timvisee/advent-of-code-2021/blob/master/day05b/src/main.rs
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-23.
-
Advent of Code day 12 advise
Then I came across this Python solution, which was quite short and concise. So I implemented this solution in F#, but I had to use a mutable. I couldn't figure out how to get rid of this mutable. Is there a way, or is this solution not a F# one?
-
-ð- 2021 Day 21 Solutions -ð-
My solutution in Python. Using itertools.cycle for part 1 and functools.cache for part 2.
-
-ð- 2021 Day 16 Solutions -ð-
My solution in Python. This one was fun! Thanks for the many samples and the detailed description.
-
-ð- 2021 Day 15 Solutions -ð-
My solution in Python. At first I was really struggling but then I luckily found some A* pathfinding code I wrote many years ago.
-
-ð- 2021 Day 14 Solutions -ð-
My Solution in Python. This one is pretty compact and amazingly fast thanks to collections.Counter and functools.lru_cache. Here is the function for counting the elements:
-
-ð- 2021 Day 12 Solutions -ð-
My solution in Python. A simple search without recursion.
-
-ð- 2021 Day 11 Solutions -ð-
My solution in Python. It's astonishing how much trouble I had today despite my experience with cellular automata.Lots of off-by-one errors and problems with synchronicity.
-
-ð- 2021 Day 7 Solutions -ð-
My solution in Python. I realised that I could use the median for part 1 and mean for part 2 like some others here.
-
-ð- 2021 Day 6 Solutions -ð-
My solution in Python. Today was fun and very easy. I immediately came to the same conclusion as others here to simply count the number of fish per age group.
-
-ð- 2021 Day 5 Solutions -ð-
My solution in Python. Now it starts to get interesting. I need to remind myself to use collections and itertools more often.
What are some alternatives?
When comparing advent-of-code-2021 and Advent_of_Code you can also consider the following projects:
aoc2020 - Advent of Code 2020
advent-2021-kotlin - :christmas_tree: Advent of Code 2021: Solutions in Kotlin
adventlang - ð A programming language (+ code playground) for Advent of Code.
advent-of-code-2021
advents-of-code - ðð Solutions for the yearly advent of code challenges
aoc-2021-rust
public
advent-of-rust-2021 - Solutions to Advent of Code 2021 in Rust
advent-of-code-rust - My solutions to Advent Of Code
specter - Clojure(Script)'s missing piece
itertools - Extra iterator adaptors, iterator methods, free functions, and macros.
aoc2021-day2-part1
advent-of-code-2021 vs aoc2020
Advent_of_Code vs advent-2021-kotlin
advent-of-code-2021 vs adventlang
Advent_of_Code vs advent-of-code-2021
advent-of-code-2021 vs advents-of-code
Advent_of_Code vs aoc-2021-rust
advent-of-code-2021 vs public
Advent_of_Code vs advent-of-rust-2021
advent-of-code-2021 vs advent-of-code-rust
Advent_of_Code vs specter
advent-of-code-2021 vs itertools
Advent_of_Code vs aoc2021-day2-part1