Assume I have regular binary search, but I change the mid to 2/3*(min+max).
Will the running time change, or remain (log(n))?
I got c1+c2*log(n)/log(3/2).
Assume I have regular binary search, but I change the mid to 2/3*(min+max).
Will the running time change, or remain (log(n))?
I got c1+c2*log(n)/log(3/2).