aoc-2021
advent-of-code-2021
aoc-2021 | advent-of-code-2021 | |
---|---|---|
5 | 8 | |
56 | 4 | |
- | - | |
5.3 | 3.2 | |
over 2 years ago | over 2 years ago | |
Rust | Kotlin | |
- | - |
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-2021
-
Any tips for writing performant Rust during AoC?
Yeah, mine was 12ms on a laptop (link).
-
Optimal algo for 2021 Day 19?
Mine runs in 1ms (in rust, single thread) but is fairly complicated (link).
-
Speeding up Dijkstra by a factor of 2700
In this particular problem, all edge weights are 1..=9, so you can have a O(1) priority queue (fixed-bound bucket queue) if you make use of that fact.
(example: https://github.com/aldanor/aoc-2021/blob/master/src/day15/mo...)
-
AoC 2021 highly-optimized solutions in Rust (17ms total)
Here's the source code in Rust for anyone interested: https://github.com/aldanor/aoc-2021.
-
-🎄- 2021 Day 3 Solutions -🎄-
link
advent-of-code-2021
-
-🎄- 2021 Day 23 Solutions -🎄-
Dijkstra algorithm, relatively fast and readable. Source
-
-🎄- 2021 Day 21 Solutions -🎄-
Kotlin
-
-🎄- 2021 Day 15 Solutions -🎄-
Source
-
-🎄- 2021 Day 14 Solutions -🎄-
All solutions
-
-🎄- 2021 Day 11 Solutions -🎄-
Full code
-
-🎄- 2021 Day 3 Solutions -🎄-
Link for the lazy: https://github.com/ClouddJR/AdventOfCode2021/blob/c1eb7e4778d867e1edede235511afd600cb5fb0b/src/main/kotlin/com/clouddjr/advent2021/Day03.kt
What are some alternatives?
toit - Program your microcontrollers in a fast and robust high-level language.
advent-of-code-2021 - My solutions for the "Advent of Code 2021"
programming-challenges - My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc
advent-of-code-2021 - 🦀 Rust solutions to AoC 2021
aoc2021
advent-of-code - Advent of Code
advent-of-code - My personal entry for https://adventofcode.com/
adventOfCode
Advent-of-Code - My repository for holding my solutions to the Advent of Code challenges. More info: https://adventofcode.com/
aoc
aoc2021 - Solutions for Advent of Code 2021 in Typescript with a custom React calendar.
aventofcode - My solutions for Advent of Code