Next: Jump Search
Up: No Title
Previous: No Title
- Problem: Given a list
containing
keys such that
, for
.
Problem is to find out if a given x is in L.
- I. Use sorted property on sequential search
- Quit search as soon as x is less than L[i] and declare that
- Could be shown that
W(n) is still O(n).
Sushil Prasad
Thu May 13 13:13:06 EDT 1999