Generic Algorithm For Elevator Operations Software For 'N' Floors
I want to post this as a challenge to all CEans. Can we come up with a generic algorithm for elevator operations software; for a building with 'N' floors? Let's make this more complicated with following extra parameters:-
PS: I haven't verified whether the problem is 'sensible'. Just dumping it right out of my mind 😀
- There are X number of elevators.
- There are Y number of floors were no elevator can stop.
- There are 'f' numbers of elevators non-functional; where f < X (obviously).
PS: I haven't verified whether the problem is 'sensible'. Just dumping it right out of my mind 😀
0