AlgoMaster Logo

Avoid Flood in The City

rains=[1, 2, 0, 0, 2, 1]
0 / 12
algomaster.io
Step:Start: Pick which lake to drain on each dry day so no lake floods