Domanda di colloquio di Bloomberg

Number of islands leet code problem. Design underground system