SLB Interview Question

number of islands in a 2d array