Domanda di colloquio di Amazon

Islands problem that can be found on leetcode