Question d’entretien chez Amazon

https://leetcode.com/problems/number-of-islands/ leet code question number 200