Design an elevator system


  • 5
    R

    How do you notify the elevator that it needs to move up/down? You could also have a centralized class to control this. Define all the entities and behavior and clearly state your assumptions.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.