Drill

ProblemsTopics › Binary search

Binary search practice problems

pattern9 problems

Halve the space each step. Anything sorted is a log-n lookup. A pattern: a move you make, and the kind of thing an interview is really asking you to spot. 9 problems in the bank train it, each with a worked example, a hint and a reference solution.

Start a Binary search session →

9 problems