Bird
0
0
LLDsystem_design~20 mins

Multiple elevator coordination in LLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Elevator Coordination Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Elevator request assignment strategy

In a building with multiple elevators, which strategy best minimizes average wait time for passengers?

AAssign the request to the elevator that is currently idle on the ground floor.
BAssign the request to the elevator with the fewest passengers regardless of location.
CAssign the request randomly to any elevator to balance load.
DAssign the request to the elevator closest to the pickup floor and moving towards it.
Attempts:
2 left
💡 Hint

Think about which elevator can reach the passenger fastest without unnecessary detours.

Architecture
intermediate
2:00remaining
Component responsible for elevator state tracking

Which component in a multiple elevator system is primarily responsible for tracking each elevator's current floor, direction, and door status?

AElevator Controller Module
BElevator State Manager
CUser Interface Module
DRequest Dispatcher Module
Attempts:
2 left
💡 Hint

Consider which module holds real-time data about elevator positions and statuses.

scaling
advanced
2:30remaining
Scaling elevator coordination for a skyscraper

When scaling a multiple elevator system for a 100-floor skyscraper with 20 elevators, which approach best maintains system responsiveness?

ADivide elevators into groups serving specific floor ranges and coordinate requests within groups.
BUse a single centralized controller to manage all elevators and requests.
CAssign requests randomly to any elevator regardless of floor range.
DLet each elevator operate independently without coordination.
Attempts:
2 left
💡 Hint

Think about reducing communication overhead and improving response time by limiting coordination scope.

tradeoff
advanced
2:30remaining
Tradeoff between energy efficiency and wait time

In multiple elevator coordination, prioritizing energy efficiency by minimizing elevator movement can increase passenger wait times. Which design choice best balances this tradeoff?

AAlways keep elevators idle at the ground floor to save energy.
BServe requests strictly in the order they arrive without optimization.
CImplement a dynamic scheduling algorithm that adapts based on current traffic patterns.
DUse fixed elevator routes regardless of demand.
Attempts:
2 left
💡 Hint

Consider a system that changes behavior based on real-time usage to optimize both goals.

estimation
expert
3:00remaining
Estimating peak load capacity for multiple elevators

Given a building with 15 elevators and 50 floors, estimate the maximum number of passengers the system can transport per hour during peak times assuming each elevator holds 20 passengers and completes 4 full trips per hour.

A1200 passengers per hour
B1500 passengers per hour
C1000 passengers per hour
D3000 passengers per hour
Attempts:
2 left
💡 Hint

Calculate total capacity by multiplying elevators, capacity per elevator, and trips per hour.