1488. Avoid Flood in The City
Medium
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.Previous452. Minimum Number of Arrows to Burst BalloonsNext747. Largest Number At Least Twice of Others
Last updated