Pregunta de entrevista de BuyHatke

Elevator system design problem