Expand description
Functionsยง
- dfs ๐
- Flood fill that explores the connected squares in the grid.
- fill_
row ๐ - Compute the knot hash for a row and expand into a fixed-size array.
- knot_
hash ๐ - Slightly tweaked version of the code from Day 10 that always performs 64 rounds. Uses a fixed-size array for better performance.
- parse
- Parallelize the hashing as each row is independent. Each worker thread chooses the next available row then computes the hash, and the final vec is patched with the results.
- part1
- part2