Question:

In binary search, after every pass of the algorithm, the search area:

Show Hint

Each iteration of binary search halves the problem size, making it logarithmic in time complexity.
Updated On: Sep 18, 2025
  • gets doubled
  • gets reduced by half
  • remains same
  • gets reduced by one third
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Recall binary search mechanism.
In binary search, the array is divided into two halves at each iteration using mid index.
Step 2: Progress of search.
At each pass, either the left half or the right half is discarded, reducing the search space by 50%.
Step 3: Efficiency.
This logarithmic halving of search space makes binary search efficient with time complexity \(\mathcal{O}(\log n)\).
Step 4: Eliminate wrong options.
- Option 1: Wrong, size never increases.
- Option 3: Wrong, search space reduces each step.
- Option 4: Wrong, reduction is by half not one third.

Final Answer: \[ \boxed{\text{Gets reduced by half}} \]
Was this answer helpful?
0
0

Questions Asked in CUET exam

View More Questions