Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Binary Search Mistakes
Test your understanding
Check Your Understanding
What causes an infinite loop in binary search?
- A.Setting with floor division and
- B.Target not in array
- C.Array has duplicate elements
- D.Using instead of in the while condition