aoc22
Solutions for Advent of Code 2022 in Rust (by morlinbrot)
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.
aoc22
Posts with mentions or reviews of aoc22.
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 -🎄-
Here's just the interesting bit, full solution here. ``` fn dijkstra(unvisited: &mut Unvisited, start: Pos, end: Pos) -> Option { fn update_neighbor(unvisited: &mut Unvisited, cur: &Node, pos: Pos) { if let Some(neigh) = unvisited.get_mut(&(pos)) { // Steepness check. if neigh.val <= cur.val + 1 { neigh.dist = neigh.dist.min(cur.dist + 1.); } } }
-
-🎄- 2022 Day 9 Solutions -🎄-
Tiny little thing you could do to make this even more succinct: Use `abs()` on `dx` and `dy`, that's what I did!
-
-🎄- 2022 Day 5 Solutions -🎄-
HashMap for parsing stacks and Vec> for operations. Full code here.
aoc2022
Posts with mentions or reviews of aoc2022.
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 -🎄-
- -🎄- 2022 Day 10 Solutions -🎄-
- -🎄- 2022 Day 9 Solutions -🎄-
- -🎄- 2022 Day 8 Solutions -🎄-
-
-🎄- 2022 Day 5 Solutions -🎄-
I'm not saying mine is good, but fmt.Sscanf and slices.Clone would help make your code shorter. https://github.com/alsm/aoc2022/blob/master/day5/day5.go
What are some alternatives?
When comparing aoc22 and aoc2022 you can also consider the following projects:
Advent-of-Code
adventofcode2022 - Advent of Code 2022 Puzzles
aoc - Advent of Code
advent-of-code - My solutions to the Advent of Code
advent_of_code_2022 - Advent of code 2022
advent-of-code - Advent of Code 2022
aoc2022_clj - Advent of Code 2022 in Clojure
aoc - Advent of Code Solutions
advent-of-code
Advent-of-Code-2022
adventofcode - Solutions for problems from AdventOfCode.com
adventofcode - Advent of code solutions