Meta Interview Question

Find number of islands in a 2d array