Lesson 5 of 11 · 7 min
Searching and sorting
An algorithm can search a list to find an item, or sort it into order. To find a name in a sorted phonebook, you don't read every page — you jump to the middle and halve the search each time. Sorting first makes searching much faster.
🔍 1 3 5 7 9
Sorted data is faster to search
Let’s try it! ✍️
Question 1 of