POV: The Elevator Stops at EVERY Floor 🛗😤 (O(n) vs O(1) IRL)

561views
6likes
1comments
1:01
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Running late. Just need floor 10. The elevator stops at EVERY. SINGLE. FLOOR. This is what O(n) linear complexity feels like in real life... Meanwhile the stairs are right there — O(1) direct access. No stops. Just go. // O(n) - Elevator for (let f = 1; f = 10; f++) { elevator.stopAt(f); } // O(1) - Stairs stairs.goDirectTo(10); // Done! Sometimes the direct route wins. 🎬 Episode 04 of Animated Stories — relatable moments with a programming twist! 👉 Follow for more coding chaos! 🔔 Turn on notifications for the next episode! #Shorts #Programming #Coding #Developer #Tech #Animation #BigO #TimeComplexity #Algorithms #SoftwareEngineer #CodingHumor #Elevator #Relatable #ComputerScience #DataStructures
Back to tutorials

Duration

1:01

Published

January 30, 2026

Added to Codegiz

March 15, 2026

Open in YouTube