Pregunta de entrevista de Amazon

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