advent-of-code
My solutions for Advent of Code (by AlexAegis)
aoc-2020
Advent of Code 2020 (by aldanor)
Our great sponsors
advent-of-code | aoc-2020 | |
---|---|---|
18 | 5 | |
66 | 3 | |
- | - | |
8.9 | 1.8 | |
about 1 month ago | over 3 years ago | |
TypeScript | Rust | |
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.
-
Day 6: how’d y’all see that it was the quadratic equation?
But I only realized this once I saw that my first solution wont cut it
-
-❄️- 2023 Day 6 Solutions -❄️-
part1
- [2022 Day 12] Fess up, who else overengineered this?
-
[2022 Day 11] Polish notation? Never heard of it.
No idea, but I've since made a more sensible input parser: https://github.com/AlexAegis/advent-of-code/blob/master/solutions/typescript/2022/11/src/parse.function.ts
-
2021 Day 16 Me spending way too much time trying to handle the garbage bits
Well, you probably are because that's how I implemented it, lol: https://github.com/AlexAegis/advent-of-code/blob/c6c55bb49838fd214c519b07ed60e1d67cbcc641/solutions/typescript/2021/16/model/packet.interface.ts
-
-🎄- 2021 Day 1 Solutions -🎄-
Part 1 Part 2
-
-🎄- 2020 Day 24 Solutions -🎄-
Part Two
-
-🎄- 2020 Day 23 Solutions -🎄-
Part Two
-
2020 Day 20 Solutions
Part Two
-
-🎄- 2020 Day 22 Solutions -🎄-
Part Two
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 advent-of-code and aoc-2020 you can also consider the following projects:
ruby - The Ruby Programming Language
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
AoC - my personal repo for the advent of code yearly challenge
hac - HAC Ada Compiler - a small, quick Ada compiler fully in Ada
aoc2020 - Advent of Code 2020 - my answers
aoc-2020 - My solutions for https://adventofcode.com
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
adventofcode
advent-of-code-2020 - Answers and solutions for Advent of Code 2020.
AdventOfCode-Java - adventOfCode(Language.JAVA);
advent-of-code vs ruby
aoc-2020 vs Advent_of_Code_in_Pascal
advent-of-code vs AoC
aoc-2020 vs hac
advent-of-code vs aoc2020
aoc-2020 vs aoc-2020
advent-of-code vs Advent_of_Code_in_Pascal
aoc-2020 vs advent-of-code-go
advent-of-code vs adventofcode
aoc-2020 vs advent-of-code-2020
advent-of-code vs advent-of-code-go
aoc-2020 vs AdventOfCode-Java