← IB Computer Science

Efficiency: IB Computer Science practice

How fast algorithms grow. 3 questions in the style of the IB Computer Science exam.

Sample questions

What is the worst-case time complexity of a binary search on a sorted list of n items?

  1. O(log n)
  2. O(1)
  3. O(n)
  4. O(n^2)