next up previous
Next: Binary Search: Up: SEARCHING ON A SORTED Previous: Recursively apply partitioning in

RECURSIVE JUMP SEARCH: With Best Value for k

Minimize W(n) w.r.t k.
Find tex2html_wrap_inline278 & solve by setting to 0.

eqnarray81

Set tex2html_wrap_inline282 and solve to get
tex2html_wrap_inline284
tex2html_wrap_inline286
tex2html_wrap_inline288
tex2html_wrap_inline290 (can not be 1)
Further check that tex2html_wrap_inline294 at k=2 is tex2html_wrap_inline298 for a minimum value.
Thus, k=2 is the best. So, dividing in 3 partition is not better than that in 2.

W(n)=k-1+w(n/k)
=2-1+w(n/2)
tex2html_wrap_inline310

displaymath316





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