advent-of-code-2022
aoc
advent-of-code-2022 | aoc | |
---|---|---|
1 | 26 | |
2 | 1 | |
- | - | |
10.0 | 8.3 | |
over 1 year ago | 4 months ago | |
Ruby | Elixir | |
- | - |
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-2022
-
-🎄- 2022 Day 16 Solutions -🎄-
The code is horrible, but performance is great. The basic idea of the algorithm is to consider all the valves we can move to. We compute how long it will take to move to a valve, and we also precompute how much pressure will be released in total by this valve using the remaining time. Then, if there are paths that have an equal distance, we only have to consider the path that has the highest potential pressure release. This drastically reduces the iterations needed, hence the low runtime. Also, the distances are not precomputed, but they are cached. This is more efficient, since we don't need all paths (for example we can skip all paths that have 0 flow rate, as we will never move to them, only pass them).
aoc
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
-
-🎄- 2022 Day 20 Solutions -🎄-
Low effort lazy tail-recursive perl: https://github.com/ramuuns/aoc/blob/master/2022/Day20.pm
- -🎄- 2022 Day 18 Solutions -🎄-
- -🎄- 2022 Day 17 Solutions -🎄-
- -🎄- 2022 Day 16 Solutions -🎄-
- -🎄- 2022 Day 15 Solutions -🎄-
What are some alternatives?
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
adventofcode - Solutions for problems from AdventOfCode.com
AoC2022 - Solutions to Advent of Code 2022 puzzles.
Advent-of-Code - A repository holding all of my solutions to Advent of Code problems
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
advent-of-code-2022 - actually publishing my solutions now that they're not redundant...
AdventOfCode2022 - Solutions to all 25 Advent of Code 2022 in Rust 🦀 Less than 100 lines per day, total runtime of less than 1 second.
aoc2022 - Advent of Code 2022 on SCAMP
aoc-factor - Advent of Code solutions in Factor
personal_code - random code that I have lying around
advent_of_code_2022