Algorithms

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738
Question 11
Medium

A database containing a sorted index of customer IDs uses a binary search algorithm to locate a specific ID.

Describe how the binary search algorithm operates to locate the target customer ID in the sorted list, explaining how the search space is reduced at each step and how the algorithm determines if the ID is not present.

[4]

Algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Algorithms