aoc
🎄 My solutions and walkthroughs for Advent of Code and more related stuff. (by mebeim)
aoc-2020
Advent of Code 2020 (by aldanor)
Our great sponsors
aoc | aoc-2020 | |
---|---|---|
24 | 5 | |
380 | 3 | |
- | - | |
8.9 | 1.8 | |
4 months ago | over 3 years ago | |
Python | Rust | |
GNU General Public License v3.0 or later | - |
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.
aoc
Posts with mentions or reviews of aoc.
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 -❄️-
1076/1738 — Raw solution (to refactor/possibly rewrite)
-
-❄️- 2023 Day 9 Solutions -❄️-
Solution
- Advent of Code day 08
-
-❄️- 2023 Day 8 Solutions -❄️-
Busy day today, going back to sleep zzZZZ. Clean solution and walkthrough here later today (hopefully).
- Advent of Code day 07
-
I am stuck!
If you're using Python, you can check this guy walkthroughs, he's good at explaining things and uses many Python's features to write clean code. I'd suggest to try tackle a problem on your own, and whether you manage to get a solution or not, read his walkthrough, and re-implement a solution using his ideas. This is what I did two years ago and it was a big help for me, I was more and more able to come up with solutions without looking at what he did. I still check what he does today, but I always solve the problem on my own first now.
-
Advent of code day 04
758/2614 — Soluzione Python 3 — Walkthrough (inglese)
-
Need help finding good python solutions
Solutions and walkthroughs for most of the years.
-
AdventOfCode 2022, giorno 25
Congrats /u/skifire13 per il rank #233 globale, nice!
- AdventOfCode 2022, giorno 15
aoc-2020
Posts with mentions or reviews of aoc-2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-26.
-
Now what? (350 stars)
I've tried it a few times and solutions were surprisingly elegant! E.g., 2020-01-p2.
-
[2020] Optimized solutions in C++ (291 ms total)
Figured I'd post my benches as well, see below. Everything done in Rust (link to source).
-
-🎄- 2020 Day 24 Solutions -🎄-
Here's my day 24 in Rust, using SIMD as usual :) (and offset coordinate encoding to make a SIMD-friendly 2-D cell grid)
-
-🎄- 2020 Day 22 Solutions -🎄-
Borrowed both ideas in my version :) On my input your version runs at 3ms, mine in 1.5ms, so it might be faster on some inputs (link). I initially started with something similar to yours but then figured why not use 512-bit ints, so that the notion of 'head' and 'tail' disappears as your head then stays at position 0 (so, e.g., to remove a card, you just right-shift the whole bigint). Also used a tiny bit of simd along the way.
What are some alternatives?
When comparing aoc and aoc-2020 you can also consider the following projects:
advent-of-code-2020 - 🎅🌟❄️☃️🎄🎁
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
Advent-of-Code - C# solutions for Advent of Code puzzles
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
hashbrown - Rust port of Google's SwissTable hash map
hac - HAC Ada Compiler - a small, quick Ada compiler fully in Ada
AdventOfCode-rs - The https://adventofcode.com in idiomatic declarative Rust
aoc-2020 - My solutions for https://adventofcode.com
advent_of_code
AdventOfCode-Java - adventOfCode(Language.JAVA);
advent-of-code - For sharing my adventofcode.com solutions
advent-of-code-2020 - Answers and solutions for Advent of Code 2020.