Back In the print window choose "Save as PDF" as the destination
NOTE.CS

Search Algorithms Comparison

1 topic · 28 Nov 2026
1

Search Algorithms Comparison ★★☆☆☆

Algorithm › Search
AlgorithmNeeds sorted dataBestAverage / Worst
Linear SearchNoO(1)O(n)
Binary SearchYesO(1)O(log n)
Jump SearchYesO(1)O(√n)
Interpolation SearchYes (uniform values)O(1)O(log log n) / O(n)
Hash lookupNoO(1)O(1) / O(n)