8
0
15
1
23
2
31
3
42
4
49
5
56
6
63
7
71
8
79
9
86
10
94
11
AlgoPlus//structures / exponential
Read the theory

Exponential Search · Doubling Bounds

Double the bound until it overshoots, then binary search the range.

Stability
In-Place
Space Complexity
Avg Time
Target
Legend
Element being checked
Eliminated (outside window)
Target found
AI Tutor Workspace
In a nutshell
Exponential search first finds a small window where the target must live, then binary-searches it. Starting at index 1 it keeps doubling the bound — 1, 2, 4, 8, 16… — until that position's value exceeds the target. The target then lies between the last two bounds, a range it finishes off with ordinary binary search. Because it homes in before searching, it's ideal for unbounded or very large sorted lists, finding a target near position i in about log i steps.
Ready
Press play to begin the cinematic walkthrough.
Double the bound — 1, 2, 4, 8… — until it passes the target, then binary-search the range you just leapt over.
Key terms
Go deeper in the lesson
Read the full theory, intuition & complexity for Exponential Search · Doubling Bounds.