Which of the following statements is true about binary search?

Practice Questions

1 question
Q1
Which of the following statements is true about binary search?
  1. It can be used on unsorted arrays
  2. It requires a sorted array
  3. It is slower than linear search
  4. It can only find unique elements

Questions & Step-by-step Solutions

1 item
Q
Q: Which of the following statements is true about binary search?
Solution: Binary search requires a sorted array to function correctly.
Steps: 0

Related Questions

Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely