medium

Design an Elevator System

Design an elevator control system for a building with multiple floors. The system should be able to handle multiple elevators, manage requests from users, optimize elevator movements, and handle different operational modes (e.g., maintenance, emergency).

Suggested time: 45 minutes

Loading the workspace...

About this problem

Before touching any class diagram, think about what an elevator system actually needs to do from the user's perspective. A passenger standing on a floor presses an Up or Down button and expects an elevator to arrive. Once inside, they press a destination floor and expect to get there efficiently. Simple enough, but a building has multiple elevators, and the system must coordinate them intelligently.

What your design needs to cover

  • Floor Calls

  • Cabin Requests

  • Multiple Elevators

  • Door Control

  • Maintenance Mode

Key challenges the editorial covers

Learn from other designs

Related problems

Guides