advent-of-code
adventofcode
advent-of-code | adventofcode | |
---|---|---|
7 | 59 | |
65 | 6 | |
- | - | |
8.3 | 8.5 | |
15 days ago | 4 months ago | |
Python | Julia | |
- | 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-of-code
-
-❄️- 2023 Day 8 Solutions -❄️-
Step-by-step explanation | full code
-
Me: "I'm going to learn rust for Advent of code!" Also me:
Code's all here: https://github.com/xavdid/advent-of-code
-
Advent of Code 2022
AoC is one of my favorite events of the year! I find the puzzles generally approachable, but interesting enough to spend time on. I also like that there's a definitively right answer, which motivates me in an interesting way. I've developed a base class over the years that handles input parsing, so I can focus more on the solutions themselves.
Additionally I've been solving for a number of years, but for the past 2 years, I've done a daily explanation of the solution. I use interesting parts of the Python stdlib and walk readers through common algorithms. I've found it _incredibly_ rewarding and plan on doing it again this year.
You can see all of those solutions here: https://github.com/xavdid/advent-of-code/tree/main/solutions
Please let me know if you enjoy reading these, I love hearing from folks!
-
-🎄- 2021 Day 13 Solutions -🎄-
Nice! This was basically the same as my solution, but mine was much more verbose.
-
-🎄- 2021 Day 6 Solutions -🎄-
Solution and writeup here: https://github.com/xavdid/advent-of-code/tree/main/solutions/2021/day_6
-
Day 1 Part 2 Issues
I do a daily solution walkthrough on GitHub if you'd like to follow along. Yesterday's is here: https://github.com/xavdid/advent-of-code/blob/main/solutions/2021/day_1
-
Advent of Code 2021
AoC is one of my favorite events of the year. I find the puzzles to be much more approachable than things like Project Euler. I regularly credit my yearly participation for making me a better programmer.
I also do a daily writeup of my solution, which helps make sure I understand the problem and help others who are learning. I found it super rewarding last year, so I'm doing it again this year. They're in my GH repo. Here's today's: https://github.com/xavdid/advent-of-code/tree/main/solutions...
My big tip is that you probably don't need to worry about competing for the leaderboard (unless you really want to). Go at your own pace, don't stay up weird hours, and take a break.
adventofcode
-
-❄️- 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?
Advent-Of-Code16-Prolog - Advent of Code 2016 - Prolog Solutions
adventofcode - Solutions for problems from AdventOfCode.com
advent-of-code - Advent of Code, solved with Python, Rust, Magma, GAP
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
protohacks
aoc2021 - Advent of Code 2021 - my answers
AdventOfCode2022 - https://adventofcode.com/2022
AdventOfCode2021.jl - Advent of Code 2021 in Julia
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
AdventOfCode2021 - Advent of code 2021
rockstar - The Rockstar programming language specification