next up previous
Next: RECURSIVE JUMP SEARCH: With Up: Jump Search Previous: Jump Search (Divide and

Recursively apply partitioning in a smaller list

[0.5cm] Let us partition into k intervals of size n/k each

eqnarray49

If we apply partitioning recursively in the sublist, we get

displaymath236

for k partitions and each partition of size n/k.
Since, in order to identify a partition, we need not compare x with L[1],

displaymath246

Say k=4, then

eqnarray55

How large can i be?
Eventually, partition size will become equal to 1, when
tex2html_wrap_inline254 or tex2html_wrap_inline256
Then W(1)=1
Thus,
tex2html_wrap_inline260

displaymath262

tex2html_wrap_inline264
- much better than tex2html_wrap_inline266 .
In general, for any fixed k,

displaymath274



Sushil Prasad
Thu May 13 13:13:06 EDT 1999