Amazon interview question

Q: Design an elevator scheduling system