SpinTheMic
Pro

Interview practice question

Low-level design of an elevator system

Backend Engineering · OOP and Design Patterns · Experienced

Design the classes for an elevator system in a building with several elevators.

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • ElevatorController, Elevator, Request (floor, direction).
  • Elevator state: direction, current floor, stops queue.
  • Dispatch strategy to choose elevator.
  • State pattern for idle/moving/doors open.
  • Handle concurrency and events.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics