Pergunta de entrevista da empresa Instructure

Implement a solution for a variation of the "Find the Number of Islands" problem.