+1 vote
in Data Structures & Algorithms II by (110k points)
Interpolation search is a variation of?

(a) Linear search

(b) Binary search

(c) Jump search

(d) Exponential search

This question was posed to me during an online interview.

My doubt stems from Searching topic in division Searching of Data Structures & Algorithms II

1 Answer

+1 vote
by (614k points)
selected by
Best answer
The correct option is (b) Binary search

The best I can explain: 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.