advent-of-code
My solutions for the Advent of Code (by JesperDramsch)
adventofcode
Advent of Code challenge solutions (by flwyd)
advent-of-code | adventofcode | |
---|---|---|
10 | 59 | |
6 | 6 | |
- | - | |
8.5 | 8.5 | |
4 months ago | 4 months ago | |
Jupyter Notebook | 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.
advent-of-code
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 2023-12-06.
- -βοΈ- 2023 Day 6 Solutions -βοΈ-
-
-π- 2022 Day 9 Solutions -π-
Code lives here and I scheduled a [blog post here](rope-bridge-solving-advent-of-code).
-
-π- 2021 Day 22 Solutions -π-
In the rest of the code I simply iterate through cubes and multiply the edges with the saved values.
-
-π- 2021 Day 16 Solutions -π-
Today was rough. Code is too long to post here. Github Basically using indexes and a bit of recursion for this.
-
-π- 2021 Day 13 Solutions -π-
It lives on Github and I made a visualization.
-
-π- 2021 Day 12 Solutions -π-
Python 3. Figured I'd learn some more networkx. Was useful for the "smol" attribute in the end and easily getting the neighbors. Full code is on Github.
-
-π- 2021 Day 10 Solutions -π-
The two scorer functions live on Github.
-
-π- 2021 Day 5 Solutions -π-
The full code with comments lives on Github. But here's the meat without comments for brevity:
-
If you're new, know that the example is your first input
And this is how simple it can be to build some relatively robust tests. All of this lives in a tests folder so pytest automatically finds it in a file called test_day05.py. You can see the file on Github.
-
-π- 2020 Day 22 Solutions -π-
Kept it fairly simple in Python. Runs in half a second for both parts together.
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 advent-of-code and adventofcode you can also consider the following projects:
aoc2020 - Advent of Code 2020
adventofcode - Solutions for problems from AdventOfCode.com
advent2022
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AdventofCode2022 - My Advent of Code 2022 solutions in Kotlin
aoc2021 - Advent of Code 2021 - my answers
AdventOfCode2022 - LΓΆsungen fΓΌr Advent of Code 2022 https://adventofcode.com/2022
AdventOfCode2021.jl - Advent of Code 2021 in Julia
AdventOfCode
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
AdventOfCode - Solutions to the Advent of Code 2022 puzzles.
rockstar - The Rockstar programming language specification
advent-of-code vs aoc2020
adventofcode vs adventofcode
advent-of-code vs advent2022
adventofcode vs adventofcode
advent-of-code vs AdventofCode2022
adventofcode vs aoc2021
advent-of-code vs AdventOfCode2022
adventofcode vs AdventOfCode2021.jl
advent-of-code vs AdventOfCode
adventofcode vs aoc2021
advent-of-code vs AdventOfCode
adventofcode vs rockstar