Skip to content
iamnoobs

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.

  1. 7
  2. 3
  3. 9
  4. 2
  5. 8
  6. 4

Comparison 1: 7 is less than the target.