aoc
advent-of-code
aoc | advent-of-code | |
---|---|---|
4 | 10 | |
2 | 3 | |
- | - | |
8.2 | 5.8 | |
4 months ago | 5 months ago | |
Go | C++ | |
MIT License | MIT License |
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.
aoc
-
Y'all are getting way too excited
Using Dijkstra and starting from `z` the solution was 2x faster than BFS in my case. By starting from `z` it constraint is that you can go to a neighbor only if the height difference is 1, that is faster than starting from `a`. For the priority I used that the amount of steps from the start to the current node inspected, meaning the nodes with shortest paths are inspected first. I counted the number of cycles (each time an element is popped out the queue) For part 1 I get ~5000 cycles with Dijkstra and ~8000 with BFS. Cannot see if there is something wrong with my BFS implementation Solution in Go
-
-π- 2022 Day 7 Solutions -π-
Go
-
-π- 2022 Day 5 Solutions -π-
Go solution abusing of slices
-
Advent of code: Rust, Go, and Binary operators
Hi everyone, I got late into the advent of code problems and currently I'm solving day 3 and 4. I've been writing my solutions in rust and go (see my aoc repo), and today, while solving day 03 I came across with an interesting comparison between rust and go code that I'd like to share in this post.
advent-of-code
-
-π- 2022 Day 12 Solutions -π-
Here's the repo for all the spaghetti goodness. Big chonkers like this one are helping to push the language balance to 35% C across all my AoC solutions.
-
-π- 2022 Day 10 Solutions -π-
Lots of opportunities to go off-by-one here. On a side note I figured out the 'include' problems that I thought I fixed the previous day. That story and the code are found at my repo.
-
-π- 2022 Day 8 Solutions -π-
Here's the solution repo and also fruity.
-
-π- 2022 Day 7 Solutions -π-
Here's the repo, its way too long for here!
-
-π- 2022 Day 5 Solutions -π-
Here's the repo.
-
-π- 2022 Day 4 Solutions -π-
My repo.
-
[META] Impossible to search for C solutions
Eyy.. maybe us C people just need to connect this way. Here's my repo, I'll be checking out both of yours!
-
-π- 2022 Day 3 Solutions -π-
Repo link.
-
-π- 2022 Day 1 Solutions -π-
Link to repo.
-
-π- 2021 Day 2 Solutions -π-
My C Solution
What are some alternatives?
advent-of-code-2021 - π My Advent of Code solutions in Rust. http://adventofcode.com/2021
advent-of-code-rust - πStarter template for solving Advent of Code in Rust.
AdventOfCode2021 - My solutions for the https://adventofcode.com/2021 challenge.
Advent-of-Code-2022 - My solutions for the 2022 Advent of Code in a mix of MATLAB and Python3
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AdventOfCode2022Julia - Advent of code 2022 done in julia.
AOC2021 - Solutions for the Advent Of Code 2021
adventofcode - :christmas_tree: C#/.Net7 library for the Advent of Code problems
advent-of-rust - πadvent of code in rust π¦ (32%)
aoc-2022-in-kotlin - AoC 2022 in Kotlin πΊ
advent_of_code_2021 - My solutions to the challenges from Advent of Code 2021
aoc22 - Advent of code 2022 solutions in F#