Question d’entretien chez Waymo

DSA question that required graph traversal