advent-of-code-kotlin
advent2021
Our great sponsors
advent-of-code-kotlin | advent2021 | |
---|---|---|
12 | 11 | |
0 | 3 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | over 2 years ago | |
Kotlin | Rust | |
- | BSD 2-clause "Simplified" License |
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-kotlin
-
-๐- 2021 Day 11 Solutions -๐-
Kotlin solution (part 1 and part 2 merged)
-
-๐- 2021 Day 9 Solutions -๐-
Kotlin solution, probably not the most efficient but does the job.
-
-๐- 2021 Day 7 Solutions -๐-
Kotlin solution for day 7, can be done fairly concisely:
-
-๐- 2021 Day 6 Solutions -๐-
Kotlin solution using a fish counter map:
-
Advent of Code in Kotlin: Day 5, 2021
Day 3 โ a few key concepts used are: extensions for example on List type higher-order functions aka a function which takes other functions as parameters
-
-๐- 2021 Day 5 Solutions -๐-
Nice! here is my solution also in Kotlin
- -๐- 2021 Day 4 Solutions -๐-
-
-๐- 2021 Day 3 Solutions -๐-
Kotlin solution for day 3, not the most concise nor most optimized but gets the job done and fairly readable.
-
-๐- 2021 Day 2 Solutions -๐-
Kotlin, solution for part 1 and 2 โ not super concise but a few cool concepts if you're learning the language.
-
Advent of Code in Kotlin: Day 1
You can find the source code for my solution here.
advent2021
- -๐- 2021 Day 11 Solutions -๐-
- -๐- 2021 Day 10 Solutions -๐-
- -๐- 2021 Day 9 Solutions -๐-
- -๐- 2021 Day 8 Solutions -๐-
- -๐- 2021 Day 7 Solutions -๐-
- -๐- 2021 Day 6 Solutions -๐-
- -๐- 2021 Day 5 Solutions -๐-
- Code review AoC Day 4
-
-๐- 2021 Day 4 Solutions -๐-
Rust: Ouch, this one is slow https://github.com/jeremylt/advent2021/blob/main/src/day04.rs 552.623ยตs (Std Dev 32.275) locally, repl currently has some issue with an older version of Rust, so timings are WIP
-
-๐- 2021 Day 3 Solutions -๐-
Ugly but somewhat fast code: https://github.com/jeremylt/advent2021/blob/main/src/day03.rs 46.497ยตs (std dev 5.506) locally, 117.632ยตs (std dev 25.638) on repl.it
What are some alternatives?
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
Advent-of-Code - My solutions or attempts at solutions to the Advent of Code event.
aoc2021 - Advent of code 2021 solutions, in varied languages
aoc2021 - Advent of code 2021 in JS
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
advent-of-code - My Advent of Code submissions. For 2021 and before, these are the original code I used, without any modifications after-the-fact. As such, they are probably not as efficient or short as they should be, because I want a working solution faster, not a better solution. For 2022 and after, these are the solutions uploaded to my YouTube channel.
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent - ๐ My Advent of Code solutions
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
adventofcode
Advent-of-Code - Advent of Code