BEGINNER · 2 PRACTICE PROBLEMS
Binary Search
Cut the search space. Find the answer.

THE CORE IDEA
Binary search
Use a sorted range and halve the possibilities with each comparison.
O(log n)A good place to practice
Start simple, then build up to the next challenge.
| Solved | Problem | Difficulty | Topic | Acceptance | Bookmark |
|---|---|---|---|---|---|
| Binary Search | Easy | Binary Search | 59.1% | ||
| Search in Rotated Sorted Array | Medium | Binary Search | 42.6% |