What is the primary characteristic of the binary search algorithm?

  • Divide and conquer algorithm
  • Dynamic programming algorithm
  • Greedy algorithm
  • Randomized algorithm
The primary characteristic of the binary search algorithm is that it follows a divide and conquer approach. It repeatedly divides the sorted array into halves and efficiently narrows down the search space.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *