Pergunta de entrevista da empresa Check Point Software Technologies

Find number of islands from leetcode with few changes