aoc22
Solutions for Advent of Code 2022 in Rust (by morlinbrot)
advent
Solutions to https://adventofcode.com/ (by tsenart)
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.
advent
Posts with mentions or reviews of advent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-05.
- -βοΈ- 2023 Day 5 Solutions -βοΈ-
-
-βοΈ- 2023 Day 4 Solutions -βοΈ-
No heap allocations: https://github.com/tsenart/advent/blob/master/2023/4
- A Neat XOR Trick
-
-π- 2022 Day 12 Solutions -π-
~200 microseconds runtime Go solutions based on BFS that plot the path in the terminal: https://github.com/tsenart/advent/tree/master/2022/12
-
Advent Of Code 2022 golang solutions
Also doing it in Go: https://github.com/tsenart/advent
- -π- 2022 Day 9 Solutions -π-
-
[2022 Day 8] Visualization of both parts on a intuitive grid
Nice. I did that but traversing all directions in each inner loop iteration: https://github.com/tsenart/advent/blob/master/2022/8/one.go
- -π- 2022 Day 8 Solutions -π-
- -π- 2022 Day 7 Solutions -π-
- -π- 2022 Day 6 Solutions -π-
What are some alternatives?
When comparing aoc22 and advent you can also consider the following projects:
Advent-of-Code
adventOfCode2022
aoc - Advent of Code
advent-of-code-2022 - π My Advent of Code solutions in Rust. http://adventofcode.com/2022
advent_of_code_2022 - Advent of code 2022
aoc2022
AdventOfCode2022
MonkeyAOC
AdventOfCode2022
AdventOfCode-2022 - Advent of Code 2022 solutions. Enjoy :-)
aoc - advent of code
advent-of-code-rust - πStarter template for solving Advent of Code in Rust.