Pergunta de entrevista da empresa Expedia Group

number of islands variant from leetcode