stackyFACTS
Technology

Sorting algorithms aggressively bubble highest values up

HERE’S THE INTERESTING PART

Bubble Sort is universally taught to coding students solely to show them how not to write an algorithm. It works by checking two adjacent numbers, swapping them if they are out of order, and agonizingly repeating the entire process until the largest values slowly 'bubble' to the top. It is hilariously inefficient, but watching its tedious progress is oddly soothing.

Sorting algorithms aggressively bubble highest values up
STACKY / Technology
One discovery leads to another.

Keep exploring facts in this topic.

Technology →
STACKY FOR IPHONE

A bigger world.
One discovery
at a time.

Keep discovering with Stacky. Interesting facts in an app that is always within reach.

Download on the App Store
ONE MORE DISCOVERY?

Keep exploring

All in this topic →
StackyMore discoveries in the app
Download on the App Store