aoc
Advent of Code solutions in rust and go (by protiumx)
AdventOfCode2021
My solutions for the https://adventofcode.com/2021 challenge. (by Finomnis)
aoc | AdventOfCode2021 | |
---|---|---|
4 | 4 | |
2 | 1 | |
- | - | |
8.2 | 1.8 | |
4 months ago | over 2 years ago | |
Go | Rust | |
MIT License | 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.
aoc
Posts with mentions or reviews of aoc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-06.
-
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.
AdventOfCode2021
Posts with mentions or reviews of AdventOfCode2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-21.
-
-π- 2021 Day 22 Solutions -π-
Ha! I had the same idea. I feel smart now :) Rust
-
-π- 2021 Day 19 Solutions -π-
Rust !!!! Execution time 4 ms !!!!
-
-π- 2021 Day 15 Solutions -π-
Rust, nothing special.
-
-π- 2021 Day 11 Solutions -π-
Here is the code I used to create the animation: https://github.com/Finomnis/AdventOfCode2021/blob/main/src/renderers/day11.rs
What are some alternatives?
When comparing aoc and AdventOfCode2021 you can also consider the following projects:
advent-of-code-2021 - π My Advent of Code solutions in Rust. http://adventofcode.com/2021
Advent-of-Code - Advent of Code
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AdventOfCodeCSharp - My AoC Solutions
AOC2021 - Solutions for the Advent Of Code 2021
AdventOfCode2021.jl - Advent of Code 2021 in Julia
advent-of-rust - πadvent of code in rust π¦ (32%)
advent-of-code
advent_of_code_2021 - My solutions to the challenges from Advent of Code 2021
aoc2021 - Advent of Code 2021, this time in Go