advent-of-code-2021
adventofcode
advent-of-code-2021 | adventofcode | |
---|---|---|
6 | 718 | |
0 | 65 | |
- | - | |
3.2 | 9.0 | |
over 2 years ago | 5 months ago | |
Python | Scala | |
- | - |
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
-
-❄️- 2023 Day 6 Solutions -❄️-
On GitHub.
-
-🎄- 2022 Day 21 Solutions -🎄-
My Scala solution – to be cleaned up.
-
Advent of Code (in MiniScript), Day 18
Welcome back to my series of Advent of Code solutions in MiniScript! Day 18 was pretty straightforward, though it presents some interesting choices in how to represent the data -- choices I'm not sure I made optimally.
-
-🎄- 2022 Day 18 Solutions -🎄-
My Scala solution.
-
Late bloomers (that started life closer to 30), how are things going for you?
And I've solved all of the Advent of Code problems so far this year, which is utterly unimportant but still brings me joy.
-
Coding/programming is absolutely fantastic
If you'd enjoy some coding challenges, advent of code (https://adventofcode.com/) is currently going on.
-
Advent of Code (in MiniScript), Day 17
Welcome back to my series of Advent of Code solutions in MiniScript! In Day 17 we got to (sort of) play Tetris. Five different Tetris-like shapes fall into a pit, moved left or right on each step according to the input. The first task is to see how high this stack will grow after 2022 blocks have been dropped in.
- Can someone give me a good idea for C# console app I could make?
- The Empty List
-
Advent of Code (in MiniScript), Day 16
Welcome back to my series of Advent of Code solutions in MiniScript! Day 16 was... how to put this?
What are some alternatives?
codewars.com - Issue tracker for Codewars
bitburner - Bitburner Game
LeetCode - This is my LeetCode solutions for all 2000+ problems, mainly written in C++ or Python.
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Advent-of-Code - Advent of Code
mal - mal - Make a Lisp
adventofcode - Solutions for problems from AdventOfCode.com
book - The Rust Programming Language
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
AdventOfCode2021 - Advent of code 2021
aoc2021 - Advent of Code 2021 - my answers