advent_of_code
advent-of-code
Our great sponsors
advent_of_code | advent-of-code | |
---|---|---|
8 | 13 | |
42 | 13 | |
- | - | |
8.0 | 0.0 | |
16 days ago | 4 months ago | |
C++ | Scala | |
- | - |
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
-
[2023 Day 6 p2] using maths?
In case you'd like to see an implementation, take a look here, though I'd suggest attempting to code it in without looking.
-
-🎄- 2022 Day 12 Solutions -🎄-
Part 2 (Each file is a self-contained solution)
-
[2022 Day 7] Trying to do AoC in C++ having known the language for less than 2 weeks:
In case you're pursuing this and want a reference: Part 1 Part 2 implemented using unique_ptr in cpp.
-
2022 Day1 [C++] I can't find a single Solution in Your megathread in C++
One more for the list: https://github.com/vss2sn/advent_of_code
-
-🎄- 2021 Day 24 Solutions -🎄-
Part 1
-
-🎄- 2021 Day 17 Solutions -🎄-
Solutions in C++: Part 1 Part 2 (As always, every file is a self ontained solution) Explanatory notes added for the math used.
-
[2021 Day 14 (Part2)][C++20] It still takes hours :-D
Should you choose the latter: Part 2 in C++.
-
-🎄- 2021 Day 1 Solutions -🎄-
Solutions in C++: Part 1 Part 2
advent-of-code
-
[2023 Day 5 Part 2] Haskell libraries really shine here
I didn't realize Haskell had that. I wrote a similar Scala library for 2022 Day 15 that's basically the encapsulated equivalent of a [Range a], but I really like the API of Haskell's library. Especially Haskell always handles infinite sequences well.
-
-❄️- 2023 Day 5 Solutions -❄️-
[LANGUAGE: Scala] GitHub
-
[2022 All Days]
Here's mine. Most of it I wrote in prior years, but refined this year. To account for problem-specific details, the functions are very generic and higher-order. It has a handful of well-known algorithms like A* and Floyd-Warshall, some handy data structures like circular buffers and intervals, and some type classes that are useful for parsing puzzle input.
-
-🎄- 2022 Day 18 Solutions -🎄-
Scala 30ms + 70ms
-
-🎄- 2022 Day 15 Solutions -🎄-
Scala 6.5 seconds.
-
-🎄- 2022 Day 13 Solutions -🎄-
Scala
-
-🎄- 2022 Day 12 Solutions -🎄-
I wrote an immutable A* in Scala a few years ago. It's not too bad if you have immutable hash maps and an immutable priority queue. Comes in handy for a lot of puzzles.
-
[2022 day 4] My experience in a nutshell
Last year I made myself an input parsing library that was really nice for this problem. I just create a Pair class with 4 number members, then ask for a List[Pair] and it knows what to do. My solution.
-
Best immutable priority queue for scala
I implemented my own using a pairing heap. It sped up my immutable A* considerably, but I was just using minBy on a List before that. Inserts are amortized O(1) and delete-mins are O(log n).
-
What is the best way to read a text file of your input in your language of choice?
This year I'm creating a Scala library to make it easier. I specify a type like List[Int] and it summons the correct type classes to parse it into that format for me.
What are some alternatives?
OpenSeesPy - OpenSeesPy versions, doc, and pip
advent-of-code-data - Download Advent of Code input data with ease.
advent-of-code-2021
advent-of-code-scala - Solving advent of code challenges
gifski - GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.
aoc - 🎄 My solutions and walkthroughs for Advent of Code and more related stuff.
signal-temporal-logic - A library for efficiently working with Signal Temporal Logic (STL) and its quantitative semantics. Has Python bindings!
advent-of-code
adventofcode - AoC solutions and visualizations for the years 2021 (Julia), 2022 (Kotlin), 2023 (Python)
advent-of-code-2020
AOC - Advent of Code solutions collection using C++23
adventofcode2022