1488. Avoid Flood in The City
Description
**Input:** rains = [1,2,3,4]
**Output:** [-1,-1,-1,-1]
**Explanation:** After the first day full lakes are [1]
After the second day full lakes are [1,2]
After the third day full lakes are [1,2,3]
After the fourth day full lakes are [1,2,3,4]
There's no day to dry any lake and there is no flood in any lake.ac
Previous1487. Making File Names UniqueNext1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
Last updated