What is the elevator design Java?
As an interviewer, I would consider this to be a failed attempt. Simply put, it's conceptually wrong. No elevator design Java that I have ever encountered acts as a queue. In a single-elevator system, it should go up, stopping at all requested floors on the way, until there are no more pending requests for higher…
Answered Oct 11, 2022 · 1.6K Views Read answer →