Microsoft Interview Question

Leetcode 200 number of islands