DSAverse
Searching Algorithms
Loading Searching Algorithms...
Search Visualization
3
9
14
21
28
35
47
56
63
72
sorted arrayindex 0
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Searching Algorithms
Loading Searching Algorithms...
Search Visualization
Jump ahead in steps of √n to find the right block, then scan linearly within it. O(√n) — faster than linear, simpler than binary.
Jump size = sqrt(15) = 3 | Red lines = block boundaries
Ready — press Play or step through manually.
If block size = k:
Question 1 of 3
What is the optimal block/jump size for jump search on an array of size n?