advent_of_code_2022
Kotlin solutions to the Advent of Code 2022 puzzles (by Stefansfrank)
AdventOfCode
Advent of code daily challenge (by WilliamLP)
advent_of_code_2022 | AdventOfCode | |
---|---|---|
5 | 15 | |
1 | 2 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Kotlin | Python | |
GNU General Public License v3.0 only | - |
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_2022
Posts with mentions or reviews of advent_of_code_2022.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-18.
-
-🎄- 2022 Day 19 Solutions -🎄-
Kotlin - not very fast (15 sec. for both on an older MBPro) - link
-
-🎄- 2022 Day 17 Solutions -🎄-
Kotlin - Runs both parts in about 200ms on a newish MBPro - Code
-
-🎄- 2022 Day 16 Solutions -🎄-
Kotlin - runs in 4 sec for both parts on my decently fast MBPro - Link
-
-🎄- 2022 Day 15 Solutions -🎄-
This is the code using range utility functions I have in this code. The main ideas are in the blockedInLine(y) function on the S(ignal)B(eacon)Pair and the reduceR(a)ng(e)s function in the utility file.
-
-🎄- 2022 Day 14 Solutions -🎄-
Solution
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 2022-12-23.
-
-🎄- 2022 Day 24 Solutions -🎄-
Just a basic BFS. My part 2 ran in 1.77 seconds.
-
-🎄- 2022 Day 19 Solutions -🎄-
Here's my solution. It's a bit of a janky script.
-
-🎄- 2022 Day 17 Solutions -🎄-
Yet another Python solution to part 2. My Python code isn't the best but I haven't seen many solutions that detect cycles programmatically.
-
-🎄- 2022 Day 16 Solutions -🎄-
There's nothing particularly nice about my Python solution but in case anyone's interested here it is. I find all points' shortest paths using floodfill and a loop because I couldn't recall Floyd-Warshall. And then it's a DFS, branching every turn when the human or elephant can make a choice to move to another valve and open it. Debugging was tricky.
-
-🎄- 2022 Day 5 Solutions -🎄-
You can check my solutions from last year https://github.com/WilliamLP/AdventOfCode/tree/master/2021 I made it up to day 14 / 17 and used that WITH RECURSIVE / UNNEST / ARRAY_AGG pattern a lot.
- -🎄- 2021 Day 24 Solutions -🎄-
- -🎄- 2021 Day 23 Solutions -🎄-
- -🎄- 2021 Day 22 Solutions -🎄-
-
-🎄- 2021 Day 19 Solutions -🎄-
I got there, but math! It took a few hours, more along the lines of a weekend project than a quick puzzle! The hardest part is working with the 24 orientations I think. I needed to dust off a little bit of linear algebra and used matrices. There are 6 permutations of the 3 coordinates, and 8 flips (+- on each axis). Composing those gives 48 transformations but half of them are the wrong chirality (mirror image) so we want only the half with determinant equal one. After that it's just a bunch of picky loops and debugging. https://github.com/WilliamLP/AdventOfCode/blob/master/2021/day19.py
- -🎄- 2021 Day 14 Solutions -🎄-
What are some alternatives?
When comparing advent_of_code_2022 and AdventOfCode you can also consider the following projects:
advent - advent of code
advent-2021-sql - Advent of Code 2021 using SQL (PostgreSQL-flavored)
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
adventofcode - my solutions to advent of code
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
adventofcode - my solutions to the adventofcode.com puzzles
aoc2022 - Advent of Code 2022 - my answers
adventofcode
AOC2022
advent-of-raku-2022 - 2022 Advent of Code solutions in the Raku programming language
advent-of-code-2022
aoc2022 - Advent of Code 2022
advent_of_code_2022 vs advent
AdventOfCode vs advent-2021-sql
advent_of_code_2022 vs advent-of-code-go
AdventOfCode vs adventofcode
advent_of_code_2022 vs adventofcode
AdventOfCode vs adventofcode
advent_of_code_2022 vs aoc2022
AdventOfCode vs adventofcode
advent_of_code_2022 vs AOC2022
AdventOfCode vs advent-of-raku-2022
advent_of_code_2022 vs advent-of-code-2022
AdventOfCode vs aoc2022