Uber interview question

Find Island in matrix