advent-of-code-2021
adventofcode
advent-of-code-2021 | adventofcode | |
---|---|---|
6 | 9 | |
0 | 16 | |
- | - | |
3.2 | 0.0 | |
over 2 years ago | over 1 year ago | |
Python | Kotlin | |
- | MIT License |
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
-
[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.
adventofcode
-
-🎄- 2021 Day 10 Solutions -🎄-
Day 10 in Kotlin
-
My first visualization: Day 9
Solution code in Kotlin
-
-🎄- 2021 Day 9 Solutions -🎄-
Day9
-
-🎄- 2021 Day 8 Solutions -🎄-
Day 8
-
-🎄- 2021 Day 1 Solutions -🎄-
Kotlin solution
-
Advent Of Code daily thread for December 25, 2020
And the last day, day 25 in Kotlin.
-
Advent Of Code daily thread for December 24, 2020
Day 24 in Kotlin
-
-🎄- 2020 Day 23 Solutions -🎄-
This one was interesting! Part 1 wasn't too hard aside from me mucking about with a data structure I created pretty poorly. Then when part 2 unlocked I found out that the part 1 solution would take about 60 hours to find a solution :D So back to the drawing board. I had to implement a data structure (referenced in the code) from scratch :D
-
Advent Of Code Daily Thread For December 21 2020
Day 21 in Kotlin
What are some alternatives?
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
Advent-of-Code-2021 - Solutions for Advent of Code 2021
advent-of-code - Solutions to Advent of Code puzzles.
AlgorithmProblems - Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:
adventofcode_2021
advent-of-code-2020 - ASCII art of digits that also happen to solve Advent of Code challenges
advent-of-code-rs - Remmy's Advent of Code solutions
AdventOfCode
adventofcode - scala efforts in the advent of code.
adventofcode-2021 - Here we go again. Let's actually save Christmas this year.
aoc2020 - Advent Of Code 2020 solutions