Binary Search

Unit 7 of 15

Core Patterns

Binary Search

Halve the search space every step: one first-true template covers sorted arrays, lower/upper bounds, rotated arrays, matrices and "binary search on the answer".

0 of 3 lessons complete, 0 of 7 problems solved

Coursework

37 min

Practice ladder

Start with the first problem, then work toward the harder variations. Run examples before submitting against all tests.

Next unit: Linked Lists