advent-of-code-kotlin-2021
Advent of Code 2021 Challenge (by PhenixFine)
adventofcode
Advent of code solutions (by mathsaey)
advent-of-code-kotlin-2021 | adventofcode | |
---|---|---|
5 | 55 | |
1 | 20 | |
- | - | |
0.0 | 7.8 | |
over 2 years ago | 4 months ago | |
Kotlin | Elixir | |
- | - |
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-kotlin-2021
Posts with mentions or reviews of advent-of-code-kotlin-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-17.
-
-🎄- 2021 Day 18 Solutions -🎄-
Kotlin - I went with solving it in place ( sort of, I had to replace [ ] with ( ) because of the way I stored the numbers ). My first day attempt of it I tried to do it with binary tree, but I'm just not familiar enough with the subject to do it that way and I failed miserably ( I'm studying the subject now, as I think it will be helpful with future code challenges ). So my next day attempt I figured I'd try solving it in place and everything worked out really well ( solved it yesterday, but wanted today to review my code before submitting it ).
-
-🎄- 2021 Day 15 Solutions -🎄-
Kotlin - it's probably a bit of a memory hog compared to other solutions, but I didn't want to have to deal with index numbers anymore than I had to.
-
-🎄- 2021 Day 12 Solutions -🎄-
Kotlin - I didn't finish it until three in the morning and just now got around to cleaning up the code. I really struggled with part 2 ( path finding was one of my least favorite subject in computer science ). Though it probably wouldn't have taken so long if I had just scrapped part 2 when it became a mess, instead of wasting time trying to fix it.
-
-🎄- 2021 Day 10 Solutions -🎄-
Kotlin solution. I converted them to numbers ( like round brackets would be 1 and -1 ), and then just used the numbers to work with.
-
[2021 Day 7] I'm just happy my gigantic list comprehension worked
I think my solution is a binary search. I originally went with a brute force implementation, but when I started the second part it occurred to me that I could do a binary search that would reduce the number of indexes I had to check the cost of moving to.
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-❄️- 2023 Day 10 Solutions -❄️-
Part one went fairly fast, but spent quite some time on getting part two right. I settled on the approach of just iterating over the grid and using a boolean to see if I had to count elements or not. However, I had some issues figuring out when to swap, this post by /u/rogual helped me figure it out. After that I lost quite some time on an error that only occurred with my input, not with the example input. It turned out that my loop (which I take form my p1 solution) didn't include the start node, which caused all sorts of counting issues.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
- -🎄- 2022 Day 19 Solutions -🎄-
- -🎄- 2022 Day 18 Solutions -🎄-
What are some alternatives?
When comparing advent-of-code-kotlin-2021 and adventofcode you can also consider the following projects:
AdventOfCode2021FSharp - Solutions for Advent of Code 2021 in F#
AdventOfCode2021 - Advent of code 2021
adventofcode - Solutions for problems from AdventOfCode.com
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
adventofcode - Answers to Advent of Code
aoc - Advent of Code - mscha's Perl 6 solutions
aoc2021 - Advent of Code 2021 - my answers
rockstar - The Rockstar programming language specification
roast - 🦋 Raku test suite
advent-of-code-kotlin-2021 vs AdventOfCode2021FSharp
adventofcode vs AdventOfCode2021
advent-of-code-kotlin-2021 vs adventofcode
adventofcode vs adventofcode
advent-of-code-kotlin-2021 vs aoc2021
adventofcode vs adventofcode
advent-of-code-kotlin-2021 vs aoc
adventofcode vs aoc2021
advent-of-code-kotlin-2021 vs AdventOfCode2021
adventofcode vs rockstar
advent-of-code-kotlin-2021 vs aoc2021
adventofcode vs roast