Exponential Search Algorithm

Exponential Search Algorithm Visually

A search algorithm for sorted arrays that finds the range where the target ov4 be present, then performs binary search.

Searching Algorithm Sorted Arrays Time Complexity O(log n) Space Complexity O(1) Intermediate Level
Exponential Search Controls
comparisons: 0
Steps: 0
Time: 0ms
Simulation Modes
Array Presets
Performance Analysis

Algorithm Status

Ready
Progress 0%

Array Visualization

About Exponential Search

Exponential search, also known as doubling search or galloping search, is a search algorithm that works on sorted arrays. It first determines a range where the target element ov4 be present by exponentially increasing the index, then performs a binary search within that range. This algorithm is particularly useful for unbounded searches.

Time Complexity
O(log n)
Worst Case
Space Complexity
O(1)
Auxiliary

Search Target

Current Target: 70

Algorithm Comparison

Exponential Search
O(log n)
Sorted Arrays
Binary Search
O(log n)
Sorted Arrays
Linear Search
O(n)
Unsorted Arrays

Execution Log

Operation Log
Exponential search visualization initialized
Enter array values and click Initialize to begin