aoc22
advent-of-code
aoc22 | advent-of-code | |
---|---|---|
3 | 28 | |
0 | 7 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Rust | Haskell | |
- | - |
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
-
-🎄- 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-of-code
- -🎄- 2022 Day 16 Solutions -🎄-
- -🎄- 2022 Day 15 Solutions -🎄-
- -🎄- 2022 Day 14 Solutions -🎄-
- -🎄- 2022 Day 13 Solutions -🎄-
- -🎄- 2022 Day 12 Solutions -🎄-
- -🎄- 2022 Day 11 Solutions -🎄-
- -🎄- 2022 Day 10 Solutions -🎄-
- -🎄- 2022 Day 9 Solutions -🎄-
- -🎄- 2022 Day 8 Solutions -🎄-
- -🎄- 2022 Day 7 Solutions -🎄-
What are some alternatives?
Advent-of-Code
aoc-2021 - AOC challenge in Haskell
aoc - Advent of Code
ghc - Mirror of the Glasgow Haskell Compiler. Please submit issues and patches to GHC's Gitlab instance (https://gitlab.haskell.org/ghc/ghc). First time contributors are encouraged to get started with the newcomers info (https://gitlab.haskell.org/ghc/ghc/wikis/contributing).
advent_of_code_2022 - Advent of code 2022
advent-of-code-2022 - 🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2022
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
advent-of-code-2022-rust
AdventOfCode2022 - Repository for advent of code code to find solutions. This year in Go.
AdventOfCodeHaskell - Advent of Code in Haskell
advent-of-code
advent-of-code-2022 - actually publishing my solutions now that they're not redundant...