adventofcode
advent-of-code
Our great sponsors
adventofcode | advent-of-code | |
---|---|---|
11 | 12 | |
8 | 22 | |
- | - | |
8.9 | 8.7 | |
2 months ago | 4 months ago | |
Rust | Python | |
- | - |
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
-
[2021 Day 6 (Part 2)] [Rust] Pretty darn elegant
This lets you cut out the relatively expensive fcount.remove(0) operation, and each loop is basically one addition and a few assignments. Full solution here.
-
-🎄- 2022 Day 13 Solutions -🎄-
Code
- -🎄- 2022 Day 12 Solutions -🎄-
-
Advent of Code: Day 3
Your solution is pretty much exactly the super concise version of my definitely over-engineered solution.
-
[2022 Day 2] Data structures good control flow bad!!!
You can see the code here
-
AOC Day 2
Here's my solution
-
[2015 day 04][Zig] Some tips to solve the problem without brute force?
Your solution looks remarkably similar to my Rust solution which solves both parts in 1.6s on the cheap NUC I use as my coding workstation.
-
2020 Day 8.2 in Python - trying to figure out how to do this efficiently?
It's in Rust, so I'm not sure how readable you'll find it, but in case it helps, you can see the code here.
-
Programing midlife "crysis"
I found a single crate with a bunch of binaries worked well. It let me use a shared library easily. You can see my crate organization here if that's helpful.
-
2020 day 7 (part 2) How would you solve this without recursion?
You can see my code here in case it helps.
advent-of-code
-
-❄️- 2023 Day 6 Solutions -❄️-
[LANGUAGE: Python]
- How many lines of code was your day 3 solution?
-
-🎄- 2022 Day 17 Solutions -🎄-
Python, Part 1 Only
-
-🎄- 2022 Day 5 Solutions -🎄-
Python
-
-🎄- 2021 Day 3 Solutions -🎄-
Rust Version
-
-🎄- 2021 Day 2 Solutions -🎄-
Rust
-
[2018 day 9] [C] Fast solution to the marble game
When I get back home after the holiday weekend I'll try benchmarking on my machine properly. But here's my version (in Common Lisp): https://github.com/rabuf/advent-of-code/blob/master/2018/2018.09.org
-
Ada and Advent of Code 2021
Rest of 2021
-
Programing midlife "crysis"
I'm partial to Common Lisp, but both Scheme and Racket would be good choices as well. There's a few of us who've been using CL the last few years to solve (nearly) every puzzle. If you want to see (not always great) solutions to the puzzles in Common Lisp, here's my repo, of course don't look at days you haven't solved yet unless you want spoilers. But it can give you a feel for how CL can be used to solve the problems. I'd intended to revisit them and clean them up, but never got around to it.
-
[2020 Day 10 (Part 2)][C++] Non-memoization solution!
Interestingly, I think that solution is rather near the memoized version in one key regard. It's not memoization, however it's still storing all the results (the count for every joltage adaptor). You can massively reduce its storage by going with something like my solution (C-f for "part 2", there are two solutions one in Common Lisp and one in Ada), which is like the non-memoized iterative fibonacci series (psuedocode, pythonesque):
What are some alternatives?
adventofcode.sh - Advent of Code 2020 and 2015, done in bash. Because why not?
Advent_Of_Code - My solution for the Advent of Code challenges in various languages.
advent - Advent of Code - Ada
toit - Program your microcontrollers in a fast and robust high-level language.
advent-of-code-golf-2020 - doing the same thing over and over and expecting the same results
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
aocaml - AoC in OCaml, for maximum typing pleasure
programming-challenges - My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc
AdventOfCode2022
advent - Solving Advent of Code problems. See https://adventofcode.com/
aoc2021 - Solutions for Advent of Code 2021 in Typescript with a custom React calendar.