Verified Commit faff6a72 authored by asahiocean's avatar asahiocean 🚀
Browse files


parent 94038c1a
## 1488. Avoid Flood in The City
### [Open Problem]( • [Discuss]( • [Gist with solution](
<div><p>Your country has an infinite number of lakes. Initially, all the lakes are empty, but when it rains over the <code>nth</code> lake, the <code>nth</code> lake becomes full of water. If it rains over a lake which is <strong>full of water</strong>, there will be a <strong>flood</strong>. Your goal is to avoid the flood in any lake.</p>
<p>Given an integer array <code>rains</code> where:</p>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment