advent-of-code

My solutions to the Advent of Code (by aaronreidsmith)

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 2022-12-12.
  • -🎄- 2022 Day 13 Solutions -🎄-
    149 projects | /r/adventofcode | 12 Dec 2022
    Scala using µJson. Really happy with how concise this is. I was able to parse everything into a Packet class that extends Ordered, which gives us the compare function. So once that was implemented recursively according to the rules we were given, I was able to jsut call .sorted for part 2.
  • -🎄- 2022 Day 12 Solutions -🎄-
    146 projects | /r/adventofcode | 11 Dec 2022
    Scala using jgrapht. I thought part 2 would require a different graph (similar to 2018 day 22) since the story said "to avoid needing to get out your climbing gear..." Glad that wasn't the case!
  • -🎄- 2022 Day 11 Solutions -🎄-
    162 projects | /r/adventofcode | 10 Dec 2022
    Scala. Pretty happy with how I parsed these into anonymous instances of my Monkey trait. For me part 2 wasn't hard because of the modulo trick, but because I was using mutable queues. So I had to add a reset() method to get things back the way they were before running part 2
  • -🎄- 2022 Day 10 Solutions -🎄-
    201 projects | /r/adventofcode | 9 Dec 2022
    Scala using tail recursion. Not the prettiest, but it works
  • -🎄- 2022 Day 9 Solutions -🎄-
    195 projects | /r/adventofcode | 8 Dec 2022
    Scala. Not too bad with my Point helper class. After part 1 I refactored the movements into a move helper that just takes 2 arbitrary points; the current point and the one we are moving towards. Then it was easy enough to just apply that in order each iteration for part 2.
  • -🎄- 2022 Day 8 Solutions -🎄-
    208 projects | /r/adventofcode | 7 Dec 2022
    Scala. It's ugly, but it works ¯\_(ツ)_/¯
  • -🎄- 2022 Day 5 Solutions -🎄-
    263 projects | /r/adventofcode | 4 Dec 2022
    Scala. Parsing wasn't as hard as I thought it would be using transpose and then just filtering non-alphanumeric characters. I initially parsed to a Map[Int, mutable.Stack[Char]] but then that bit me in part 2 when I would have to "reset" it (dang mutability!). So instead I parse to Map[Int, String] and just build the mutable stacks twice.
  • -🎄- 2022 Day 4 Solutions -🎄-
    230 projects | /r/adventofcode | 3 Dec 2022
    Scala. Pretty easy using Range.intersect
    230 projects | /r/adventofcode | 3 Dec 2022
    Updated version using sets instead of ranges
  • -🎄- 2022 Day 2 Solutions -🎄-
    239 projects | /r/adventofcode | 1 Dec 2022
    Scala. A little more verbose than I would like, but it works ¯\_(ツ)_/¯
  • A note from our sponsor - SaaSHub
    www.saashub.com | 28 Mar 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic advent-of-code repo stats
25
5
8.0
3 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com