Pregunta de entrevista de Amazon

The coding problem was related to task execution order given a dependency tree.