Amazon Interview Question

How would you begin to design software for an elevator system?