Computer science
Algorithm Playground
An algorithm is a repeatable set of steps. Try a search or sorting challenge and reveal each comparison as it happens.
Find or sort the list
The target is 8. Choose a strategy, then reveal one comparison at a time.
Checks each item in order; the list does not need to be sorted.
- 7
- 3
- 9
- 2
- 8
- 4
Comparison 1: 7 is less than the target.