Pergunta de entrevista da empresa Intel Corporation

Write a program to count the number of islands