Problems
Contests
Account
Problems
> The Largest Lake > Editorial
The Largest Lake — Solution & Editorial
Back to the Problem
Flood fill each lake counting its cells; keep the maximum.
Complexity:
O(NM)
×
Refer Job