advent_of_code

By carl-omniart

Advent_of_code Alternatives

Similar projects and alternatives to advent_of_code

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 alternative or higher similarity.

advent_of_code reviews and mentions

Posts with mentions or reviews of advent_of_code. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • -❄️- 2023 Day 8 Solutions -❄️-
    200 projects | /r/adventofcode | 7 Dec 2023
    https://github.com/carl-omniart/advent_of_code/tree/main/2023 For part two, I defined a class that, in my head, was a cross of a Set and an Enumerator. This class took the offset (span of steps prior to a repetition), the period (span of repeated steps), and the points (steps that reached a location ending in Z). Knowing the pattern, an instance of this class quickly enumerates all the Z-ending steps between any span of steps. Instances of this class can be combined. The new offset is the greater of the two offsets; the new period is the lowest common multiple of the two periods. To get the new set of points, I used one instance to enumerate the points over the span of the new first period and checked to see if the other instance included them. The instance doing the enumerating was always the one in which the points were more spread out. (If you were trying to find a common multiple between 3 and 5167, you'd rather enumerate 5167 three times than three 5167 times.) I combined the various ghost paths and found the first point. P.S. I named this class Syzygy, which is a term for an astronomical conjunction and a title of an X-Files episode that features a young Jack Black. Doesn't exactly make sense as a class name here but what the heck.

Stats

Basic advent_of_code repo stats
1
0
8.3
4 months ago

The primary programming language of advent_of_code is Ruby.


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