Module aoc::year2018::day17

source ·
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§

Functions§

  • flow 🔒
    Recursively work out the kind of each tile, memoizing values for efficiency.