Amazon Interview Question
Software Engineer / DevelopersCountry: United States
Interview Type: Phone Interview
1. How many maximum people do you expected to be in the elevator?
2. What do you think it is a typical average weight?
3. What is the area or volume of the space inside the building you build the elevator for?
4. Does the elevator play any music while it moves? play sound when it reach its floor?
5. What is the acceleration up/down do you want? if he/she says too large, just correct him/her for safe acceleration?
6. What is sort of the button? draw a desired button panel on a paper.
7. Lighting? light blub shape?
I could go on.... but you get the point. << do not say this to your interviewer.
First of all, classify an elevator (i.e. used in a residential complex or an office building).
Second classification would be on the type of usage of elevator - i.e. for general public / house-workers (panty men, cleaners etc) / special elevator for executives etc.
Then comes a general info gathering about an elevator (applicable to all kind of elevators). This would be same as what Howard has listed above.
Since the question is about designing an elevator system, I am assuming there would be more than one elevators operating between the TOP and BOTTOM floors. In such a case, there will be a requirement of finding out which elevator should respond when it is requested for at a certain level.
As per my view interviewer want to check the elevator system working logic. Like C-Scan or Elevator algorithm in disk scheduling algorithm. Elevator keep on servicing all the request in current moving direction. Once there is no more request in current direction it will revert. But it can not change direction what ever the request come. We can change to algorithm to shortest seek first or some other. check at: en.wikipedia.org/wiki/Category:Disk_scheduling_algorithms
- virat February 07, 2012