Searching and sorting at a glance
Searching and sorting at a glance

A search finds a target value in a list, while a sort rearranges the list into order. The diagram shows the key search contrast: linear search checks one by one, while binary search throws away half of a sorted range each step.
Step-by-step lessons covering OCR GCSE Computer Science Searching and sorting algorithms for GCSE Computer Science. Each lesson works through exam-style questions in Component 01 and Component 02 format. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.