Interpolation search is a variation of?

Bảo Vy

Member
Interpolation search is a variation of?
A. Linear search
B. Binary search
C. Jump search
D. Exponential search
 
Answer: b
Explanation: Interpolation search is a variation of binary search which gives the best result when the array has uniformly distributed values. Interpolation search goes to different positions depending on the value being searched whereas binary search always goes to the middle element.
 

Tìm kiếm

Back
Top