Category
1 article in this category
TLDR: An elevator system must manage multiple cars, floors, and concurrent requests using a Dispatch Algorithm to minimize wait time. We use the State Pattern for elevator movement and the Strategy Pattern for dispatching, with the SCAN sweep algorit...