advent-of-code-2022

Advent of Code 2022 solutions in Ruby (https://adventofcode.com/2022) (by damyvv)

Advent-of-code-2022 Alternatives

Similar projects and alternatives to advent-of-code-2022

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better advent-of-code-2022 alternative or higher similarity.

advent-of-code-2022 reviews and mentions

Posts with mentions or reviews of advent-of-code-2022. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-15.
  • -🎄- 2022 Day 16 Solutions -🎄-
    68 projects | /r/adventofcode | 15 Dec 2022
    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).

Stats

Basic advent-of-code-2022 repo stats
1
2
10.0
over 1 year ago

The primary programming language of advent-of-code-2022 is Ruby.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com