aoc21
advent-of-code
aoc21 | advent-of-code | |
---|---|---|
4 | 12 | |
0 | 22 | |
- | - | |
0.0 | 8.7 | |
over 2 years 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.
aoc21
-
-🎄- 2021 Day 3 Solutions -🎄-
I only had time to look at today problem 10 minutes ago. Part 1 in Rust is here. I got a O(m*n) time complexity here (m is the number bitstring length, n is the number of bitstrings). I'm pretty sure there is a better way. Any insights?
-
-🎄- 2021 Day 2 Solutions -🎄-
Rust version with a single function. I wonder if at this line I can parse the integer value directly. I didn't find a way to do it yet.
-
-🎄- 2021 Day 1 Solutions -🎄-
Learning Rust, so there is my solution: https://github.com/finalfire/aoc21/blob/main/src/day1.rs
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?
toit - Program your microcontrollers in a fast and robust high-level language.
Advent_Of_Code - My solution for the Advent of Code challenges in various languages.
advent-of-code - My solutions for adventofcode.com
AdventOfCodeCSharp - My AoC Solutions
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
advent-of-code - My Advent of Code solutions through the years - mostly JS
advent - Solving Advent of Code problems. See https://adventofcode.com/
Advent_of_Code - My Advent of Code solutions.
programming-challenges - My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc
AdventOfCode - Solutions to Advent of Code
advent-of-code-2020 - Solutions of Advent of Code 2020