awesome-low-level-design icon indicating copy to clipboard operation
awesome-low-level-design copied to clipboard

Only one Elevator would be accepting all the request.

Open viveksinghvats opened this issue 1 year ago • 1 comments

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.

viveksinghvats avatar Aug 03 '24 14:08 viveksinghvats