awesome-low-level-design
awesome-low-level-design copied to clipboard
Only one Elevator would be accepting all the request.
https://github.com/ashishps1/awesome-low-level-design/tree/main/solutions/java/src/elevatorsystem
In the current Elevator LLD implementation, I identified an issue where, during elevator requests in the main function, Elevator1 ends up accepting all the requests. As a result, when the code is executed, only Elevator1 moves and handles all the requests, while the other elevators remain idle.