Advent_of_Code2021
Solutions to Advent of COde 2021 (by cettt)
adventofcode2021 | Advent_of_Code2021 | |
---|---|---|
4 | 12 | |
0 | 1 | |
- | - | |
4.5 | 0.0 | |
over 2 years ago | over 2 years ago | |
Rust | R | |
GNU General Public License v3.0 only | - |
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.
adventofcode2021
Posts with mentions or reviews of adventofcode2021.
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 -🎄-
-
-🎄- 2021 Day 19 Solutions -🎄-
my solution in Rust
-
What's everyone working on this week (including AoC) 50/2021?
I do have a more idiomatic solution for it ofcourse. The above is what is called a "code golfing" solution. Usually done in script languages like python or perl, but it's amazing how much golfing you can actually do in Rust!
-
What's everyone working on this week (including AoC) 49/2021?
This is how I solved it: https://github.com/miquels/adventofcode2021/blob/main/day-06/part-2/src/main.rs
Advent_of_Code2021
Posts with mentions or reviews of Advent_of_Code2021.
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 -🎄-
Then I wrote a small algorithm which finds the minimum and maximum values: no brute force needed- Full code with extra explanation on github.
-
-🎄- 2021 Day 23 Solutions -🎄-
My code is super slow: takes about 15 minutes for part 2. There is much too improve: will take a good look at this after the 25th.
-
-🎄- 2021 Day 22 Solutions -🎄-
My code is not yet as efficient as it could be: i takes about 4-5 seconds for both parts.
-
-🎄- 2021 Day 21 Solutions -🎄-
Today was my cheatday as I used the tidyverse library :) github
-
-🎄- 2021 Day 20 Solutions -🎄-
Today was quite easy again. The only challenging part in my input was that light pixels surrounded by only light pixels turn dark (and vice versa). github
-
-🎄- 2021 Day 19 Solutions -🎄-
For a while I didnt think I was going to make it :) But here I am :) github.
-
-🎄- 2021 Day 17 Solutions -🎄-
I first computed bounds and checked within a certain region of velocities. Compared with yesterday this was a piece of cake. I guess for must inputs the solution to part1 is simply y*(y+1)/2 where y is the absolute value of the lower bond - 1. github
-
-🎄- 2021 Day 16 Solutions -🎄-
Well save to say, this was my least favorite puzzle since 2018: and I still had a lot of fun :) I used two global variables: one keeping track of the current index and adding up the version numbers. I am praying that there won't be a follow up on this :D github
-
-🎄- 2021 Day 15 Solutions -🎄-
The full code is on github
-
-🎄- 2021 Day 14 Solutions -🎄-
cleaned up my code a little. Both parts run in 40ms. Full code with comments is on github
What are some alternatives?
When comparing adventofcode2021 and Advent_of_Code2021 you can also consider the following projects:
flatterer - Opinionated JSON to CSV/XLSX/SQLITE/PARQUET converter. Flattens JSON fast.
adventofcode - My solutions for Advent of Code
libflatterer - Lib flatterer: A lib to make JSON flatterer
advent-of-code - Advent of Code
advent-2021 - [Moved to: https://github.com/Crazytieguy/advent-of-code]
adventOfCode - Advent of Code solutions in a number of different languages
advent-of-code-2021
AdventOfCode - My solutions for Advent of Code
adventofcode2021 - Advent of Code 2021 in Elixir
advent2021
AdventOfCode2021.jl - Advent of Code 2021 in Julia
AoC - my personal repo for the advent of code yearly challenge
adventofcode2021 vs flatterer
Advent_of_Code2021 vs adventofcode
adventofcode2021 vs libflatterer
Advent_of_Code2021 vs advent-of-code
adventofcode2021 vs advent-2021
Advent_of_Code2021 vs adventOfCode
adventofcode2021 vs advent-of-code-2021
Advent_of_Code2021 vs AdventOfCode
adventofcode2021 vs adventofcode2021
Advent_of_Code2021 vs advent2021
adventofcode2021 vs AdventOfCode2021.jl
Advent_of_Code2021 vs AoC