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)
low = pos + 1, high remains unchanged
high = pos - 1, low remains unchanged
low = low +1, high = high - 1
low = pos +1, high = pos - 1
Answer and explanation
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.
