Advent_of_Code2021
Solutions to Advent of COde 2021 (by cettt)
advent-code-2021
[Moved to: https://github.com/xdavidliu/advent-of-code] (by xdavidliu)
Our great sponsors
Advent_of_Code2021 | advent-code-2021 | |
---|---|---|
12 | 2 | |
1 | 0 | |
- | - | |
0.0 | 7.2 | |
over 2 years ago | over 1 year ago | |
R | Java | |
- | - |
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_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
advent-code-2021
Posts with mentions or reviews of advent-code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-22.
- -🎄- 2021 Day 23 Solutions -🎄-
-
-🎄- 2021 Day 19 Solutions -🎄-
(physicist here) see lines 5-12 of my solution, where I use some numpy and nested for-loops to generate all 3x3 permutation matrices with signs flipped and determinant +1. There turns out to be exactly 24 of these, and they are the right ones.
What are some alternatives?
When comparing Advent_of_Code2021 and advent-code-2021 you can also consider the following projects:
adventofcode - My solutions for Advent of Code
aoc21
advent-of-code - Advent of Code
aoc2021 - My Advent of Code 2021 solutions, in Rust.
adventOfCode - Advent of Code solutions in a number of different languages
AdventOfCode2020 - Solutions to all 25 AoC 2020 problems in Rust :christmas_tree:
AdventOfCode - My solutions for Advent of Code
AoC - my personal repo for the advent of code yearly challenge
advent2021
aoc2021 - Advent of Code 2021, this time in Go
Advent_of_Code2021 vs adventofcode
advent-code-2021 vs aoc21
Advent_of_Code2021 vs advent-of-code
advent-code-2021 vs aoc2021
Advent_of_Code2021 vs adventOfCode
advent-code-2021 vs AdventOfCode2020
Advent_of_Code2021 vs AdventOfCode
advent-code-2021 vs AoC
Advent_of_Code2021 vs advent2021
advent-code-2021 vs aoc2021
Advent_of_Code2021 vs AoC
advent-code-2021 vs advent2021