DRW interview question

Elevator system design using C++