Pregunta de entrevista de Uber

Maximum Path weight and queue topological sort