You press the lift button.
Display shows:
“Lift is coming.”
You wait.
30 seconds…
1 minute…
Still not here.
👉 But system says it’s coming.
So I turned this into a coding challenge.
And yes…
This is a real engineering problem.
🛗 The Problem
Basic logic:
- User requests lift
- Lift moves to floor
- Request completed
Simple.
But real buildings are not simple.
⚠️ What Goes Wrong?
In real systems:
• Multiple requests come at once
• Lift keeps changing direction
• Some floors get priority
• Some requests get delayed forever
And suddenly:
👉 Lift feels stuck in another universe.
🧠 What I Observed
When exploring this:
- Basic queue logic works
- But inefficient scheduling causes delay
- Some floors get ignored
- System feels slow and unfair
The code works.
But the experience is frustrating.
🔍 The Real Issue
This is not just movement.
It’s about:
• Scheduling
• Optimization
• Fairness
• Real-time decisions
Because:
👉 Serving requests in order is not always optimal.
💡 What Better Systems Do
Real elevator systems use:
- Direction-based scheduling
- SCAN (elevator algorithm)
- Priority handling
- Efficient routing
This ensures:
👉 Faster response
👉 Fair service
👉 Less waiting
🔥 Try My Challenge
I turned this into a challenge on VibeCode Arena.
👉 Try it here:
https://vibecodearena.ai/duel/0999a34f-d23e-4156-ae0a-0f5168a49fd2
Can you:
- Fix slow lift logic?
- Improve scheduling?
- Build a smarter elevator system?
🎯 Final Thought
Some systems move data.
Some systems move people.
And this one…
👉 Moves very slowly 😭
Tell me 👇
What’s worse:
Waiting for lift
or
watching it stop on every floor except yours? 😭

Top comments (0)