Pergunta de entrevista da empresa Microsoft

Design an algorithm for efficient operation of an elevator