Advertisements
Advertisements
प्रश्न
Binary search looks for the element to search in position:
पर्याय
First
Middle
Last
Any random
MCQ
Advertisements
उत्तर
Middle
Explanation:
- Binary search first checks the middle element of the sorted array.
- Based on the comparison, it searches either the left half or the right half.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 8: Arrays - Sort & Search - Exercises [पृष्ठ १९७]
