I recently wrote an article about this problem, and detail one reasonable algo for minimizing wait time. (Doesn’t consider concept of cars being full though, interesting addition)<a href="https://jslandy.com/elevators/" rel="nofollow">https://jslandy.com/elevators/
efavdb · · focus · HN ↗
<a href="https://jslandy.com/elevators/" rel="nofollow">https://jslandy.com/elevators/