InterviewDB Question

Elevators - Simulate and Optimize Elevator Scheduling

Question Details

Round 1 - Coding / OOD Problem Design an elevator controller for a building with n floors and k elevators. Requests arrive as (floor, direction) pairs. Implement a scheduling policy that minimizes average wait time. Follow-ups Describe the SCAN (elev…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone