Pergunta de entrevista da empresa Amperity

The question is the classical elevator scheduling problem.