Given an array of requested floor stops for an elevator and its initial moving direction (up or down), simulate a single round trip (such as an Elevator Algorithm / SCAN disk scheduling approach) to…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.