advent-2021-kotlin
:christmas_tree: Advent of Code 2021: Solutions in Kotlin (by tginsberg)
Advent_of_Code
My Advent of Code solutions. (by Farbfetzen)
advent-2021-kotlin | Advent_of_Code | |
---|---|---|
2 | 14 | |
34 | 7 | |
- | - | |
1.8 | 3.7 | |
about 2 years ago | 7 months ago | |
Kotlin | Python | |
Apache License 2.0 | 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-2021-kotlin
Posts with mentions or reviews of advent-2021-kotlin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-15.
-
-🎄- 2021 Day 16 Solutions -🎄-
Once I finally understood how the examples worked with subpackets, I was able to come up with what I think is a nice clean solution. I ended up using an Iterator that got passed around to various sealed types that would parse themselves out. I defined several extension functions on Iterator to make things easier to read.
-
-🎄- 2021 Day 1 Solutions -🎄-
Kotlin -> [Blog/Commentary] - [Code] - [All 2021 Solutions]
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 2021-12-23.
-
Advent of Code day 12 advise
Then I came across this Python solution, which was quite short and concise. So I implemented this solution in F#, but I had to use a mutable. I couldn't figure out how to get rid of this mutable. Is there a way, or is this solution not a F# one?
-
-🎄- 2021 Day 21 Solutions -🎄-
My solutution in Python. Using itertools.cycle for part 1 and functools.cache for part 2.
-
-🎄- 2021 Day 16 Solutions -🎄-
My solution in Python. This one was fun! Thanks for the many samples and the detailed description.
-
-🎄- 2021 Day 15 Solutions -🎄-
My solution in Python. At first I was really struggling but then I luckily found some A* pathfinding code I wrote many years ago.
-
-🎄- 2021 Day 14 Solutions -🎄-
My Solution in Python. This one is pretty compact and amazingly fast thanks to collections.Counter and functools.lru_cache. Here is the function for counting the elements:
-
-🎄- 2021 Day 12 Solutions -🎄-
My solution in Python. A simple search without recursion.
-
-🎄- 2021 Day 11 Solutions -🎄-
My solution in Python. It's astonishing how much trouble I had today despite my experience with cellular automata.Lots of off-by-one errors and problems with synchronicity.
-
-🎄- 2021 Day 7 Solutions -🎄-
My solution in Python. I realised that I could use the median for part 1 and mean for part 2 like some others here.
-
-🎄- 2021 Day 6 Solutions -🎄-
My solution in Python. Today was fun and very easy. I immediately came to the same conclusion as others here to simply count the number of fish per age group.
-
-🎄- 2021 Day 5 Solutions -🎄-
My solution in Python. Now it starts to get interesting. I need to remind myself to use collections and itertools more often.
What are some alternatives?
When comparing advent-2021-kotlin and Advent_of_Code you can also consider the following projects:
advent-of-code-2021 - zig solutions to advent of code 2021
advent-of-code-2021 - 🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2021
nom - Rust parser combinator framework
advent-of-code-2021
AdventOfCode2021FSharp - Solutions for Advent of Code 2021 in F#
aoc-2021-rust
BQN - An APL-like programming language. Self-hosted!
advent-of-rust-2021 - Solutions to Advent of Code 2021 in Rust
adventofcode - My collection of Advent of Code solutions in a slightly overkill project setup 🙃👻
specter - Clojure(Script)'s missing piece
adventofcode - Solutions for problems from AdventOfCode.com
aoc2021-day2-part1
advent-2021-kotlin vs advent-of-code-2021
Advent_of_Code vs advent-of-code-2021
advent-2021-kotlin vs nom
Advent_of_Code vs advent-of-code-2021
advent-2021-kotlin vs AdventOfCode2021FSharp
Advent_of_Code vs aoc-2021-rust
advent-2021-kotlin vs BQN
Advent_of_Code vs advent-of-rust-2021
advent-2021-kotlin vs adventofcode
Advent_of_Code vs specter
advent-2021-kotlin vs adventofcode
Advent_of_Code vs aoc2021-day2-part1