AdventOfCode
My solutions to Advent of Code (by d12bb)
Advent-of-Code
By Catterwaul
AdventOfCode | Advent-of-Code | |
---|---|---|
5 | 11 | |
7 | 1 | |
- | - | |
5.3 | 10.0 | |
6 months ago | over 1 year ago | |
Rust | Swift | |
- | - |
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.
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-28.
-
Languages in 25 Days
I did the same challenge this year, though I didn't use as “esoteric” languages (TeX… I love it :D), but I've made it more difficult than necessary by using the languages I'm familiar with first, before realizing this might be a mistake… I've written on my learnings on the AoC subreddit[0] and if you'd like to see my code, it's of course on GitHub[1].
0: https://www.reddit.com/r/adventofcode/comments/zwi0t4/2022_w...
1: https://github.com/d12bb/AdventOfCode/tree/main/2022
-
[2022] What I learned using a different language each day
Anyways, if you're interested, here's the code. Now I'll try to get rid of all these compilers, interpreters, language servers, Neovim plugins etc. I'll never use again…
-
AoC 2022 day 11 done in Raku, looking for feedback
I never used Raku (or even Perl) before, but as I try to solve Advent of Code using a different language every day this year, I did today's problem in Raku. I'm quite intrigued by its Grammar feature and used it to parse the input, but found it really difficult to get working. That said, I'd like to hear from more experienced Rakuistas if what I did was even remotely idiomatic or looks just gross to your eyes. So here's my code (may be easier to read on Github):
-
-🎄- 2022 Day 11 Solutions -🎄-
Today's Raku: src
-
-🎄- 2022 Day 9 Solutions -🎄-
I'm doing different language each day, all solutions here.
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 2022-12-11.
-
-🎄- 2022 Day 12 Solutions -🎄-
Swift. I tried to use GameplayKit's pathfinding, but I got fed up with it being in Objective-C and not working with subtypes properly. shortestPathSources is just an implementation of Dijkstra that works on matrices.
-
-🎄- 2022 Day 11 Solutions -🎄-
Swift.
-
-🎄- 2022 Day 10 Solutions -🎄-
Swift. Algorithms had me covered for Part 2, but I had to make something for Part 1 that would allow for getting the elements of a Sequence based on sorted offsets, without having to start from the beginning each time.
-
-🎄- 2022 Day 9 Solutions -🎄-
I recommend SIMD2—it can save you a lot of reinventing the 2D wheel!
-
-🎄- 2022 Day 8 Solutions -🎄-
Swift. We don't have good types for this. 🤮
-
-🎄- 2022 Day 6 Solutions -🎄-
Swift. containsOnlyUniqueElements is not in the standard library; it relies on this Set initializer.
-
-🎄- 2022 Day 5 Solutions -🎄-
Works grood.
-
-🎄- 2022 Day 4 Solutions -🎄-
No, I edited my comment. I was wrong in thinking that there was a proper overload. The one I'm using is just from `extension Collection where Self.Element : Equatable` in the new _StringProcessing section for Regex. It gives the correct result, but it's not as fast as it could be. (https://stackoverflow.com/questions/64066681/check-if-one-range-is-within-another)
-
-🎄- 2022 Day 2 Solutions -🎄-
Swift, using some helpers for `CaseIterable`.
What are some alternatives?
When comparing AdventOfCode and Advent-of-Code you can also consider the following projects:
aoc2022 - Advent of Code 2022
AoC2022 - Solutions to the Advent of Code (AoC) 2022
AdventOfCode - Hacky solutions for lovely problems
advent-of-code-rust - 🎄Starter template for solving Advent of Code in Rust.
adventofcode - adventofcode.com solutions
advent-of-code-solved - My advent of code, in jq…
aoc2018
AdventOfCode2022
AoC - my personal repo for the advent of code yearly challenge
aoc2022 - 🎄
Advent-of-code - My solutions of adventofcode.com
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
AdventOfCode vs aoc2022
Advent-of-Code vs AoC2022
AdventOfCode vs AdventOfCode
Advent-of-Code vs advent-of-code-rust
AdventOfCode vs adventofcode
Advent-of-Code vs advent-of-code-solved
AdventOfCode vs aoc2018
Advent-of-Code vs AdventOfCode2022
AdventOfCode vs AoC
Advent-of-Code vs aoc2022
AdventOfCode vs Advent-of-code
Advent-of-Code vs adventofcode