Pergunta de entrevista da empresa Microsoft

Design an elevator algorithm for an office building taking into account usage patterns.