Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts

Mastering Chaos: How Computers Create Order

Taking Control of Chaos
Computer at Work

Taking Control of Chaos: How Computers Sort


Imagine you have a huge stack of unsorted playing cards. Your goal is to arrange them from lowest to highest number. What seems intuitive to us is a real challenge for a computer. It has to sort a list by following very precise instructions. Here are three famous methods.

1. Bubble Sort: The Cozy Soap Bubble

Bubble sort is the simplest way to sort a list. Imagine the heavier numbers sinking to the bottom, while

Loading recent posts...