ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Given an array arr = {45,77,89,90,94,99,100} and key = 100; What are the mid values(corresponding array elements) generated in the first and second iterations?
Correct Answer: A — 90 and 99
Trace the input with the binary search iterative code.