advent
adventofcode
Our great sponsors
advent | adventofcode | |
---|---|---|
7 | 55 | |
23 | 20 | |
- | - | |
8.1 | 7.8 | |
4 months ago | 4 months ago | |
JavaScript | Elixir | |
MIT License | - |
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
-
[2023 Day 5 (Part 2)] [JS] Anyone beat 19ms?
My solution runs both parts in 3.5 ms on my 1.80 GHz Dell machine, which I think is pretty good for JavaScript. I explain my solution in the comments.
-
Has anything changed about authentication for downloading input?
Here is a link to the Node module that handles my input fetching. The function that performs the actual request is below, using Node's built-in https module:
-
[2022 Day 10 (Part 2)] Today's puzzle not screenreader accessible
I made one in JavaScript as part of my AoC framework; feel free to steal the code.
-
-🎄- 2022 Day 2 Solutions -🎄-
JavaScript
-
Please include your contact info in the User-Agent header of automated requests!
I mean, yeah, others are welcome to use it: https://github.com/rjwut/advent
-
[2022] AoC Awesome List on Github
My repo is at https://github.com/rjwut/advent. It has all solutions for all years in Node, and includes auto input download, skeleton solution generation, and even OCR for the ASCII letters used in some puzzles.
-
[ALL YEARS] [JavaScript] New member of the 350⭐club
I just earned my last missing star. (No surprise, it was 2019 day 22. 🤮) My repo has all solutions in JavaScript, the vast majority of which complete sub-second. I also wanted to make it more useful for people learning the language, so I tried to write things in a way that would be more easily readable and maintainable than your typical quick-and-dirty solutions, and there's lots of documentation, probably more than I'd normally write. I also included my framework for generating skeleton solution files and retrieving input from the site (throttled and cached, of course). It even includes my OCR module for reading the large ASCII art letters used in some puzzles. Hope somebody out there finds it helpful in their own quest to improve their coding!
adventofcode
-
-❄️- 2023 Day 10 Solutions -❄️-
Part one went fairly fast, but spent quite some time on getting part two right. I settled on the approach of just iterating over the grid and using a boolean to see if I had to count elements or not. However, I had some issues figuring out when to swap, this post by /u/rogual helped me figure it out. After that I lost quite some time on an error that only occurred with my input, not with the example input. It turned out that my loop (which I take form my p1 solution) didn't include the start node, which caused all sorts of counting issues.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
- -🎄- 2022 Day 19 Solutions -🎄-
- -🎄- 2022 Day 18 Solutions -🎄-
What are some alternatives?
advent-of-code-2022 - https://adventofcode.com/2022/
AdventOfCode2021 - Advent of code 2021
awesome-advent-of-code - A collection of awesome resources related to the yearly Advent of Code challenge.
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent-of-code-next - NextJS Project for Advent of Code
adventofcode - Answers to Advent of Code
aoc_helper - @salt-die's aoc_helper package, rewritten from the ground up
aoc2021 - Advent of Code 2021 - my answers
AdventOfCodeBase - Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
rockstar - The Rockstar programming language specification
factor - Factor programming language
roast - 🦋 Raku test suite