https://mikhail.io/2017/02/coding-puzzle-in-fsharp-find-the-number-of-islands/
Coding Puzzle in F#: Find the Number of Islands | Mikhail Shilkov
Here’s a programming puzzle. Given 2D matrix of 0’s and 1’s, find the number of islands. A group of connected 1’s forms an island. For example, the below...
number of islands