1488. Avoid Flood in The City
https://leetcode.com/problems/avoid-flood-in-the-city/
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.Previous1353. Maximum Number of Events That Can Be AttendedNext1647. Minimum Deletions to Make Character Frequencies Unique
Last updated