aoc2021
Advent of Code 2021 (by UnicycleBloke)
advent-of-code-kotlin
Advent of code 2021 - Kotlin (by Eric-Lloyd)
aoc2021 | advent-of-code-kotlin | |
---|---|---|
8 | 12 | |
4 | 0 | |
- | - | |
3.3 | 1.8 | |
5 months ago | over 2 years ago | |
C++ | Kotlin | |
- | - |
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.
aoc2021
Posts with mentions or reviews of aoc2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-14.
-
I'm learning c++ at work the last few months, and I'm considering asking to do AoC during work - what prep could I do for AoC in c++?
The fiddliest part is processing the input into usable form. I ended up with a template which used regex to convert a file of similar lines into a vector of tuples. It's not amazing code, I'm sure, but it did the job: https://github.com/UnicycleBloke/aoc2021/blob/master/utils/utils.h, used for example here in the run() function: https://github.com/UnicycleBloke/aoc2021/blob/master/day13/day13.cpp. Share and enjoy. ;)
-
[DAY 6] C# solution with commentary
I'm not certain, but this seems similar to my solution: https://github.com/UnicycleBloke/aoc2021/blob/master/day06/day06.cpp. I rotate an array of counts for days, and add the count for Day 8 to that for Day 6. Speed depends on the machine, but both parts run in about a millisecond on mine.
-
Anyone using c++'s standard libraries for AOC?
My code isn't amazing or anything, but it is here: https://github.com/UnicycleBloke/aoc2021
- -🎄- 2021 Day 14 Solutions -🎄-
-
-🎄- 2021 Day 5 Solutions -🎄-
C++: https://github.com/UnicycleBloke/aoc2021/blob/master/day05/day05.cpp
- -🎄- 2021 Day 4 Solutions -🎄-
-
-🎄- 2021 Day 3 Solutions -🎄-
C++ https://github.com/UnicycleBloke/aoc2021/blob/master/day03/day03.cpp. I suspect I'm overdoing the template-y goodness, but it's a learning exercise. Made such a meal of Part 2...
-
-🎄- 2021 Day 2 Solutions -🎄-
Nice. I figured we'll be parsing lines a lot so have written a function to parse the input into a vector of tuples: https://github.com/UnicycleBloke/aoc2021/blob/master/day02/day02.cpp.
advent-of-code-kotlin
Posts with mentions or reviews of advent-of-code-kotlin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-10.
-
-🎄- 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.
What are some alternatives?
When comparing aoc2021 and advent-of-code-kotlin you can also consider the following projects:
adventofcode - Advent of code solutions
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
advent-of-code
aoc2021 - Advent of code 2021 solutions, in varied languages
AdventOfCode2021.jl - Advent of Code 2021 in Julia
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
adventofcode - Solutions for problems from AdventOfCode.com
advent2021 - Advent of Code 2021 in Rust
AoC - my personal repo for the advent of code yearly challenge
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent-of-code
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
aoc2021 vs adventofcode
advent-of-code-kotlin vs AdventOfCode
aoc2021 vs advent-of-code
advent-of-code-kotlin vs aoc2021
aoc2021 vs AdventOfCode2021.jl
advent-of-code-kotlin vs tqdm
aoc2021 vs adventofcode
advent-of-code-kotlin vs advent2021
aoc2021 vs AoC
advent-of-code-kotlin vs adventofcode
aoc2021 vs advent-of-code
advent-of-code-kotlin vs Advent-of-code-2021-golang