← IBM questions
CodingMedium

Elevator Floor Sequence

Filed under IBM

Given an elevator's current standing floor, its direction ('up' or 'down'), and a list of requested floor stops, determine the sequence of floors visited. The elevator continues in its current…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related IBM questions

Collected from public candidate posts and coding forums. Updated Nov 2026.