Pregunta de entrevista de Cisco

DSA question based on graph