Pregunta de entrevista de Citadel Securities

Graph based and topological sort