Stryker Interview Question

Number of island question leetcode