PayPal Interview Question

One includes a question about finding number of islands in two dimensional array.