मराठी

Binary search looks for the element to search in position:

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 [पृष्ठ १९७]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 8 Arrays - Sort & Search
Exercises | Q 1. (iv) | पृष्ठ १९७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×