Thanks for the wonderful article but please help me understand that the pending requests from inside of elevator isn't that should be specific to elevator Id ? I mean we are pushing to pendingRequests directly but for moveElevator we are passing elevator instance.?? Am i missing something
Dolly Singh
Software Engineer
Thanks for the wonderful article but please help me understand that the pending requests from inside of elevator isn't that should be specific to elevator Id ? I mean we are pushing to pendingRequests directly but for moveElevator we are passing elevator instance.?? Am i missing something