a) low = pos + 1, high remains unchanged
b) high = pos – 1, low remains unchanged
c) low = low +1, high = high – 1
d) low = pos +1, high = pos – 1
What are the updated values of high and low in the array if the element being searched is lower than the value at calcul
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What are the updated values of high and low in the array if the element being searched is lower than the value at calcul
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!