advent-of-code-2021
Advent of Code 2021 (by Kamik423)
advent-of-code
Advent of Code in python3 (by lehippie)
advent-of-code-2021 | advent-of-code | |
---|---|---|
6 | 6 | |
0 | 0 | |
- | - | |
3.2 | 8.2 | |
over 2 years ago | 5 months ago | |
Python | Python | |
- | - |
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 2021-12-15.
-
[2021 Day 15 (Part 2)] Heuristic function weight vs speed of some algorithms for today
Since today Dijkstra seemed kind of slow multiple people tried A* but this was even slower. So I tried to investigate with some plots. (My code uses Python/Matplotlib).
- [2021 Day #15 (Part 2)] Since A* was slower than Dijkstra I wanted to see the relation between the heuristic function weight and speed. The results are interesting.
-
[2021 Day #9] Blob coloring
I was too lazy to implement a flood fill from the lowest points so I implemented a simple blob coloring algorithm that scans the map row by row and numbers the basins. Each pixel gets the same number as either the pixel above or left of it. If both are a wall it gets a new number. Source code on GitHub. Visualization in a separate script using Matplotlib in Python.
-
-🎄- 2021 Day 8 Solutions -🎄-
I created a mapping matrix and found a way to normalize the matrix by swapping rows and columns until it reached a standard form. Thus I could correlate code words to numbers. GitHub with commented code.
- I created a Python library to get my AoC input with just a single line: aoc.get_integers(1) to get the integers for day 1.
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 2022-11-30.
-
[2022 Day 22 (Part 2)] Hey, if it works, it works!
My code in Python3 here.
-
Please include your contact info in the User-Agent header of automated requests!
Here is my repo : https://github.com/lehippie/advent-of-code
-
[2021 Day 13][Python] Script to transform hashes to text?
So, I developed a Python class to manage input parsing and solve day parts. With it, I only have to call the solve() method and he current status or the puzzle is printed to stdout. This helps to avoid regressions when tinkering in part_two with an already solved part_one.
-
-🎄- 2021 Day 12 Solutions -🎄-
Python3 : https://github.com/lehippie/advent-of-code/blob/master/2021/12.py
- -🎄- 2021 Day 8 Solutions -🎄-
-
-🎄- 2020 Day 22 Solutions -🎄-
Python3 solution
What are some alternatives?
When comparing advent-of-code-2021 and advent-of-code you can also consider the following projects:
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
aoc_helper - @salt-die's aoc_helper package, rewritten from the ground up
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
advent-of-code-data - Get your Advent of Code data with a single import statement
AdventOfCodeBase - Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
aoclib - Utilities convenient for Advent of Code solutions in Rust
aoc-cli - Advent of Code command-line tool
AdventOfCode-2021
adventofcode - 🎄 Advent of Code
aoc-2021 - Advent of Code 2021 solutions
advent-of-code-2021 vs adventofcode
advent-of-code vs aoc_helper
advent-of-code vs scamp-cpu
advent-of-code vs advent-of-code-data
advent-of-code vs AdventOfCodeBase
advent-of-code vs aoclib
advent-of-code vs aoc-cli
advent-of-code vs AdventOfCode-2021
advent-of-code vs adventofcode
advent-of-code vs aoc-2021