Have you ever wondered how a computer can find one record among millions in a fraction of a second? The secret is binary search — an elegant algorithm that works on any sorted list by repeatedly cutting the remaining possibilities in half. Instead of checking every...
Interactive
Sorting Algorithms Visualised: Bubble, Selection & Insertion Sort Side by Side
Have you ever wondered how a computer decides to put things in order? There are many different sorting algorithms, and they all reach the same sorted result by taking very different routes. In this demo you can watch three classic algorithms — bubble sort, selection...