Open viveksinghvats opened 1 month ago
Identified the same issue, seems like elevators are not processing any request, since there is no console output for elevator movement:
print(f"Elevator {self.id} reached floor {self.current_floor}")
Edit: This for the python code btw, just noticed the issue is opened for java implementation.
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.