Advent-of-Code
My solutions for Advent of Code [2015, 2016, 2020, 2021, 2023] (by MartinSeeler)
Advent_of_Code_2021
My solutions to Advent of Code 2021 (by neelakantankk)
Our great sponsors
Advent-of-Code | Advent_of_Code_2021 | |
---|---|---|
4 | 11 | |
5 | 0 | |
- | - | |
6.9 | 0.0 | |
3 months ago | over 2 years ago | |
Python | Python | |
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
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-18.
-
-🎄- 2021 Day 19 Solutions -🎄-
To find the match, I created a Jupyter Notebook to visualize the points with the simple example. After staring 30 minutes into 3d charts, I finally figured out that whenever I find a rotation that matches, then there must be a vector v, which occures a lot of times when comparing each p1 from scanner 1 with each point p2 from scanner 2, because we only have to shift it by this vector to align with the scanner 0 (see jupyter notebook first plot).
-
-🎄- 2021 Day 13 Solutions -🎄-
Python 3, <1ms runtime
-
-🎄- 2021 Day 6 Solutions -🎄-
Python3
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 2021-12-14.
-
-🎄- 2021 Day 15 Solutions -🎄-
Python solution. Part 1 runs in no time at all. Part 2 takes about 1.2 s which, I think, is because I am creating the entire 500x500 grid at the beginning. I suspect that I could speed it up considerably by only creating a grid in a direction when I get there, maybe create the next tile to the right and down when I get to a tile. A tile update function would probably not be too difficult as each cost would be an (x,y) multiple of the cost's base (x,y). I'm going to attempt to bring this to below 1s. :D
-
-🎄- 2021 Day 14 Solutions -🎄-
Python
-
-🎄- 2021 Day 13 Solutions -🎄-
My solution in Python. Part 1 was pretty easy to do with sets. For Part 2, I just printed to console and put in the letters. :D
-
-🎄- 2021 Day 11 Solutions -🎄-
Surprised at the pretty small input file size :D but pretty easy Python solution using dicts, lists, and sets. Python comprehensions just make life so much easier.
-
-🎄- 2021 Day 9 Solutions -🎄-
Finally managed to solve Part 02 in Python. I was stuck because I could not figure out a way to go through all the points around a low point till I got to a 9. Then yesterday I say u/skarlso's post about Red Blob games and the various pathing algorithms, and the breadth-first-search example just unblocked the whole solution for me. :)
-
-🎄- 2021 Day 6 Solutions -🎄-
Python solution that takes about a second for part 2. The logic is the same for both parts, just changed the number of days it runs for.
-
-🎄- 2021 Day 5 Solutions -🎄-
Bless Python's sets! Makes checking for membership such a breeze!
-
-🎄- 2021 Day 4 Solutions -🎄-
Python
-
-🎄- 2021 Day 3 Solutions -🎄-
Pretty easy with Python. Some list comprehension, some count, some join, some int and it's done. Could be more efficient, of course. 😁
-
-🎄- 2021 Day 2 Solutions -🎄-
Simple Python-based solution yet again.
What are some alternatives?
When comparing Advent-of-Code and Advent_of_Code_2021 you can also consider the following projects:
adventofcode - My solutions to the Advent of Code challenges
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
advent_of_code - My solutions to advent of code puzzles
aoc2021rust
adventofcode2020 - Python solutions to https://adventofcode.com/2020
AdventOfCode
AoC2021 - Advent of Code 2021 in GO
adventofcode
advent-of-code - Advent of Code solutions
advent-of-code
AOC2021
advent-of-code-2021 - AoC 2021 solutions in Python