advent-of-code-2021
Advent of Code 2021 (by Kamik423)
AoC
my personal repo for the advent of code yearly challenge (by Fadi88)
advent-of-code-2021 | AoC | |
---|---|---|
6 | 87 | |
0 | 18 | |
- | - | |
3.2 | 8.1 | |
over 2 years ago | 23 days ago | |
Python | Python | |
- | GNU General Public License v3.0 or later |
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.
AoC
Posts with mentions or reviews of AoC.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
-❄️- 2023 Day 11 Solutions -❄️-
20ms both parts https://github.com/Fadi88/AoC/blob/master/2023/day11/code.py
- -❄️- 2023 Day 9 Solutions -❄️-
- -❄️- 2023 Day 8 Solutions -❄️-
- -❄️- 2023 Day 7 Solutions -❄️-
-
-❄️- 2023 Day 6 Solutions -❄️-
Same Algo as my python code from earlier, now just using math not search space reduction also blazing fast in micro seconds https://github.com/Fadi88/AoC/tree/master/2023/day06
- -❄️- 2023 Day 5 Solutions -❄️-
- [2022-day16] python port to rust performance question
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code-2021 and AoC 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
advent-of-code - My solutions for Advent of Code
adventofcode - Solutions for problems from AdventOfCode.com
aoc2020 - Advent of Code 2020 - my answers
AdventOfCode-Java - adventOfCode(Language.JAVA);
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
aoc2021 - Advent of Code 2021 Solutions
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
aoc2021 - Advent of Code 2021 - my answers
Advent-of-Code - Advent of Code
advent-of-code-2021