Pattern 22: LeetCode Interview Patterns24 sections · 736 units
Open in CourseQuiz: Binary Search on Answer
Test your understanding
Check Your Understanding
In Koko Eating Bananas, what are you binary searching over?
- A.The indices of the piles array
- B.The number of hours
- C.The eating speed k (bananas per hour)
- D.The pile sizes