Expand description
§Reservoir Research
Starting from the spring, recursively works out the kind of each tile, memoizing values for efficiency. Tiles are one of 3 kinds:
Sand
Indicates a tile of unknown type.Moving
Flowing water.Stopped
Either clay tile or water that has settled.
This problem is similar to Year 2022 Day 14.
Structs§
Enums§
- Kind 🔒
Functions§
- flow 🔒Recursively work out the kind of each tile, memoizing values for efficiency.