An algorithm to count the number of distinct islands on a lake map using BFS. Each island is a group of connected land cells ('L') surrounded by water ('W').
-
Updated
Apr 28, 2024 - Java
An algorithm to count the number of distinct islands on a lake map using BFS. Each island is a group of connected land cells ('L') surrounded by water ('W').
Add a description, image, and links to the lake-island topic page so that developers can more easily learn about it.
To associate your repository with the lake-island topic, visit your repo's landing page and select "manage topics."