aoc21

Advent of code 2021. (by yxhuvud)

Aoc21 Alternatives

Similar projects and alternatives to aoc21

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

aoc21 reviews and mentions

Posts with mentions or reviews of aoc21. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-17.
  • Advent of Code Day 24: Computing with Sets
    2 projects | news.ycombinator.com | 17 Feb 2022
    The way I solved this was by squinting a little and realizing that every time a div instruction happened, then a certain number following it needed to be 0, depending on the value of certain constants embedded in the code, and also on certain other fields in the input. So instead of starting with an input number, it is possible to calculate the min and max values the fields may contain right there, as long as we embed the field positions in a stack.

    As this is only going through the code once, this is virtually instantaneous and ended up as the day that was fastest of all days to compute.

    https://github.com/yxhuvud/aoc21/blob/main/day24.cr

  • [2021] Solving AoC with Rust before Python can start
    1 project | /r/adventofcode | 11 Feb 2022
    My solution, https://github.com/yxhuvud/aoc21/blob/main/all_days.cr :
  • Speeding up Dijkstra by a factor of 2700
    2 projects | news.ycombinator.com | 1 Jan 2022
    Yes, though sometimes it is possible to replace a fully general priority queue with a faster structure that is using the structure of the problem at hand. For example, this problem (AoC day 15) has only ever a count of unique priorities that is 10 or fewer. That allows a queue implementation to be https://github.com/yxhuvud/aoc21/blob/main/day15.cr#L27-L51 , being amortized O(1) in both insertion and deletion. This pushed down the runtime another magnitude for me, the whole day running at 0.014s.
  • -🎄- 2021 Day 18 Solutions -🎄-
    144 projects | /r/adventofcode | 17 Dec 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic aoc21 repo stats
4
2
0.0
over 1 year ago

The primary programming language of aoc21 is Crystal.


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