Question d’entretien chez Rafael

here is a link to the third question: https://leetcode.com/problems/number-of-islands/description/