← Back to list

America’s Got Algorithms

Time Complexity Determines Your Value on Open Mic Night At the front of the venue is the uncompromising judge ‘Big O Notation’

Aswieni Udhayakumar · 2026-02-13 13:50 · 0 claps · 1.4 min read
#algorithms #sorting-algorithms #open-mic #computer-science #university-of-moratuwa
Open on Medium ↗
Wiki topics: EDU · Education & Learning 💻 · Programming 🔬 · Science · General

America’s Got Algorithms

Time Complexity Determines Your Value on Open Mic Night At the front of the venue is the uncompromising judge ‘Big O Notation’

“Ladies and gentlemen” Big-O announced,“I don’t care about your confidence, Show me your efficiency”

And just like that, The show began

Bubble Sort grabbed the mic “Hi everyone, I compare adjacent elements… again and again… and again”

Someone in the crowd whispered …“**Bro’s still buffering” **Bubble Sort ignored it

“Look at me, I’m O(n²), I am dedicated and keep moving the largest problems up one at a time”

Motivational? Yes, Scalable? Not really

Bubble Sort leaves the stage saying “Hard work beats talent… unless talent is O(n log n)”

Selection Sort walks up calmly “I don’t do unnecessary swaps, I scan everything, I choose the best, I commit”

Audience, “Still O(n²) though”

Selection Sort adjusts the mic “Efficiency in swapping, Not in time, We all have our strengths” Selection Sort exits with dignity

Insertion Sort smiles “Imagine arranging playing cards in your hand…. That’s me” The audience relates instantly

“I build a sorted portion step by step, If the data is nearly sorted!? I shine. O(n), baby”

Crowd impressed

“But worst case?” Insertion Sort looks away dramatically

“We don’t talk about O(n²)” Sometimes simplicity wins

Suddenly, dramatic background music plays Quick Sort enters “I choose a pivot”

Silence.

“I divide you, Smaller to the left, Bigger to the right” Audience: “OHhhhhhh.”

“Average complexity? O(n log n)”

Bubble Sort pretends to check its phone

“But yes, if I choose my pivot badly… O(n²)” EVEN HEROES HAVE WEAKNESSES

Quick Sort drops the mic “I’m not lucky. I’m strategically aggressive.”

Soft classical music fades in Merge Sort walks slowly to the mic

“I don’t compete, I divide.” “I break problems into halves… until they can’t break anymore. Then I merge them beautifully.” The audience nods respectfully. “My time complexity? Always O(n log n)”

Quick Sort raises an eyebrow

“Yes, I use extra space” Merge Sort admits “But consistency is power” Merge Sort leaves quietly No drama — Just results

At the end of the night, Big-O steps forward “There is no best algorithm.”

The room goes silent

THERE IS ONLY THE RIGHT ALGORITHM FOR THE RIGHT PROBLEM


메타데이터
post_id
66437e048fc5
slug
americas-got-algorithms-66437e048fc5
url
https://medium.com/@aswieniu2004/americas-got-algorithms-66437e048fc5
canonical_url
https://medium.com/@aswieniu2004/americas-got-algorithms-66437e048fc5
author_url
https://medium.com/@aswieniu2004
status
ok
fetched_at
2026-07-21 22:11:56