Question d’entretien chez Bloomberg

Number of islands leet code problem. Design underground system