Pregunta de entrevista de Amazon

To solve an algorithmic problem regarding scheduling.