Pergunta de entrevista da empresa Heartbeat Health

Simple coding exercise on how you would design an algorithm used in an elevator.