LLDElevator system: scheduling stopshardmcq
In an elevator LLD, each elevator should serve stops in the LOOK style: keep moving in its current direction, stopping at each requested floor, and reverse only when no stops remain ahead. Which per-elevator data structure fits best?
In an elevator LLD, each elevator should serve stops in the LOOK style: keep moving in its current direction, stopping at each requested floor, and reverse only when no stops remain ahead. Which per-elevator data structure fits best?