Question d’entretien chez Trimble MAPS

Question on Graph (leetcode medium)