ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What are the updated values of high and low in the array if the element being searched is lower than the value at calculated index in interpolation search (pos = current position)
Correct Answer: B — high = pos - 1, low remains unchanged
When the element being searched is lower than the value at the calculated position then in that case we update high and low remains unaltered. Updated value of high is high = pos - 1.