AdventOfCode
Advent of code daily challenge (by WilliamLP)
adventofcode
Advent of Code challenge solutions (by flwyd)
AdventOfCode | adventofcode | |
---|---|---|
15 | 59 | |
2 | 6 | |
- | - | |
0.0 | 8.5 | |
over 1 year ago | 4 months ago | |
Python | Julia | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
AdventOfCode
Posts with mentions or reviews of AdventOfCode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-23.
-
-🎄- 2022 Day 24 Solutions -🎄-
Just a basic BFS. My part 2 ran in 1.77 seconds.
-
-🎄- 2022 Day 19 Solutions -🎄-
Here's my solution. It's a bit of a janky script.
-
-🎄- 2022 Day 17 Solutions -🎄-
Yet another Python solution to part 2. My Python code isn't the best but I haven't seen many solutions that detect cycles programmatically.
-
-🎄- 2022 Day 16 Solutions -🎄-
There's nothing particularly nice about my Python solution but in case anyone's interested here it is. I find all points' shortest paths using floodfill and a loop because I couldn't recall Floyd-Warshall. And then it's a DFS, branching every turn when the human or elephant can make a choice to move to another valve and open it. Debugging was tricky.
-
-🎄- 2022 Day 5 Solutions -🎄-
You can check my solutions from last year https://github.com/WilliamLP/AdventOfCode/tree/master/2021 I made it up to day 14 / 17 and used that WITH RECURSIVE / UNNEST / ARRAY_AGG pattern a lot.
- -🎄- 2021 Day 24 Solutions -🎄-
- -🎄- 2021 Day 23 Solutions -🎄-
- -🎄- 2021 Day 22 Solutions -🎄-
-
-🎄- 2021 Day 19 Solutions -🎄-
I got there, but math! It took a few hours, more along the lines of a weekend project than a quick puzzle! The hardest part is working with the 24 orientations I think. I needed to dust off a little bit of linear algebra and used matrices. There are 6 permutations of the 3 coordinates, and 8 flips (+- on each axis). Composing those gives 48 transformations but half of them are the wrong chirality (mirror image) so we want only the half with determinant equal one. After that it's just a bunch of picky loops and debugging. https://github.com/WilliamLP/AdventOfCode/blob/master/2021/day19.py
- -🎄- 2021 Day 14 Solutions -🎄-
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-❄️- 2023 Day 10 Solutions -❄️-
Code on GitHub is currently a mess.
-
[2023 Day 5] Exlplanation Like I'm 5
In the spirit of the Day 5 ALLEZ CUISINE! challenge to ELI5 (Explain Like I'm Five), here's a tasty explanation of how my algorithm works using only a large bucket of Red Vines and a knife. It says to use lined paper, but if you try this at home consider aligning things on a cutting board.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Jsonnet] (on GitHub)
- -🎄- 2022 Day 25 Solutions -🎄-
-
-🎄- 2022 Day 24 Solutions -🎄-
Elixir code, thoughts
-
-🎄- 2022 Day 23 Solutions -🎄-
Elixir 1554/1502 code, reflections
-
-🎄- 2022 Day 21 Solutions -🎄-
Elixir 2506/3402 (24 minutes, 2 hours), code, thoughts
-
-🎄- 2022 Day 20 Solutions -🎄-
Bonus solution in Go (golang) because I was confused about why my Elixir solution didn't work and decided to implement from scratch in case I'd done something dumb. The Go one also got the wrong answer, but took less than 100ms instead of a minute, so I could try out lots of tweaks that didn't change the answer.
-
-🎄- 2022 Day 19 Solutions -🎄-
Elixir 2031/2641 after 3.25/6.5 hours! Code on GitHub
-
-🎄- 2022 Day 18 Solutions -🎄-
I spent time this afternoon sprucing up my helpers for the iex REPL. I spent a bunch of time poking at things in IEx the last couple days and wanted to make sure I would minimize keystrokes if I needed to debug things on my phone while drunk. Turns out Thursday night > Friday night > Saturday night in terms of difficulty, so all those macros have so far saved me zero seconds :-)
What are some alternatives?
When comparing AdventOfCode and adventofcode you can also consider the following projects:
advent-2021-sql - Advent of Code 2021 using SQL (PostgreSQL-flavored)
adventofcode - Solutions for problems from AdventOfCode.com
adventofcode - my solutions to advent of code
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
adventofcode - my solutions to the adventofcode.com puzzles
aoc2021 - Advent of Code 2021 - my answers
adventofcode
AdventOfCode2021.jl - Advent of Code 2021 in Julia
advent-of-raku-2022 - 2022 Advent of Code solutions in the Raku programming language
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
aoc2022 - Advent of Code 2022
rockstar - The Rockstar programming language specification
AdventOfCode vs advent-2021-sql
adventofcode vs adventofcode
AdventOfCode vs adventofcode
adventofcode vs adventofcode
AdventOfCode vs adventofcode
adventofcode vs aoc2021
AdventOfCode vs adventofcode
adventofcode vs AdventOfCode2021.jl
AdventOfCode vs advent-of-raku-2022
adventofcode vs aoc2021
AdventOfCode vs aoc2022
adventofcode vs rockstar