adventofcode-2021
Solutions to Advent of Code, 2021 (by coriolinus)
adventofcode
By julianandrews
Our great sponsors
adventofcode-2021 | adventofcode | |
---|---|---|
1 | 11 | |
0 | 8 | |
- | - | |
10.0 | 8.9 | |
almost 2 years ago | 2 months 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.
adventofcode-2021
Posts with mentions or reviews of adventofcode-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-09.
-
[2021 Day 6 (Part 2)] [Rust] Pretty darn elegant
I don't actually remember that day, but it looks like mine works fine with literally no optimization:
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-02-09.
-
[2021 Day 6 (Part 2)] [Rust] Pretty darn elegant
This lets you cut out the relatively expensive fcount.remove(0) operation, and each loop is basically one addition and a few assignments. Full solution here.
-
-🎄- 2022 Day 13 Solutions -🎄-
Code
- -🎄- 2022 Day 12 Solutions -🎄-
-
Advent of Code: Day 3
Your solution is pretty much exactly the super concise version of my definitely over-engineered solution.
-
[2022 Day 2] Data structures good control flow bad!!!
You can see the code here
-
AOC Day 2
Here's my solution
-
[2015 day 04][Zig] Some tips to solve the problem without brute force?
Your solution looks remarkably similar to my Rust solution which solves both parts in 1.6s on the cheap NUC I use as my coding workstation.
-
2020 Day 8.2 in Python - trying to figure out how to do this efficiently?
It's in Rust, so I'm not sure how readable you'll find it, but in case it helps, you can see the code here.
-
Programing midlife "crysis"
I found a single crate with a bunch of binaries worked well. It let me use a shared library easily. You can see my crate organization here if that's helpful.
-
2020 day 7 (part 2) How would you solve this without recursion?
You can see my code here in case it helps.
What are some alternatives?
When comparing adventofcode-2021 and adventofcode you can also consider the following projects:
adventofcode.sh - Advent of Code 2020 and 2015, done in bash. Because why not?
advent - Advent of Code - Ada
advent-of-code-golf-2020 - doing the same thing over and over and expecting the same results
advent - Solving Advent of Code problems. See https://adventofcode.com/
AdventOfCode2022
advent-of-code-2020 - Solutions of Advent of Code 2020
aocaml - AoC in OCaml, for maximum typing pleasure
AoC-2022 - Advent of code 2022
aoc2022
advent-of-code
adventofcode
aoc-2022 - Code for Advent of Code 2022
adventofcode vs adventofcode.sh
adventofcode vs advent
adventofcode vs advent-of-code-golf-2020
adventofcode vs advent
adventofcode vs AdventOfCode2022
adventofcode vs advent-of-code-2020
adventofcode vs aocaml
adventofcode vs AoC-2022
adventofcode vs aoc2022
adventofcode vs advent-of-code
adventofcode vs adventofcode
adventofcode vs aoc-2022