On a grid of heights with all outside cells treated as height 0, find the largest connected set of cells that forms a puddle bounded by strictly taller neighbors for some threshold h.
Hard8Union-findBFSDFSSimulationNo attempts yetTime limit2sMemory limit256 MB