PROBLEMS/BINARY SEARCH
Binary Search LeetCode Problems
150 hand-tagged Binary Search problems across 4 interview patterns (Standard Binary Search, Binary Search on Answer Space, Boundary Finding (Bisect Left/Right), Search in Rotated/Modified Array), ranked by importance (how often each pattern shows up in real coding interviews). Work top-down within each pattern.
| # | PROBLEM | DIFF | ELO | IMP | PATTERNS |
|---|---|---|---|---|---|
| 1 | Binary Search | Easy | 878 | 93 | |
| 2 | Search a 2D Matrix | Easy | 1257 | 87 | |
| 3 | Find Peak Element | Easy | 1307 | 82 | |
| 4 | Median of Two Sorted Arrays | Hard | 2078 | 82 | Same-Direction (Fast/Slow on Arrays) |
| 5 | Single Element in a Sorted Array | Easy | 1375 | 78 |
| # | PROBLEM | DIFF | ELO | IMP | PATTERNS |
|---|---|---|---|---|---|
| 1 | Capacity To Ship Packages Within D Days | Medium | 1725 | 90 | |
| 2 | Koko Eating Bananas | Medium | 1766 | 88 | Frequency Counting / Hash Map Lookup |
| 3 | Split Array Largest Sum | Hard | 2064 | 88 | Linear Recurrence DP · Reachability / Frontier Greedy |
| 4 | Minimum Number of Days to Make m Bouquets | Hard | 1946 | 87 | |
| 5 | Find the Smallest Divisor Given a Threshold | Medium | 1542 | 82 |
| # | PROBLEM | DIFF | ELO | IMP | PATTERNS |
|---|---|---|---|---|---|
| 1 | Find First and Last Position of Element in Sorted Array | Easy | 1337 | 88 | Standard Binary Search |
| 2 | Time Based Key-Value Store | Medium | 1575 | 88 | Frequency Counting / Hash Map Lookup |
| 3 | Search Insert Position | Easy | 1112 | 85 | Standard Binary Search |
| 4 | First Bad Version | Easy | 1108 | 82 | |
| 5 | Successful Pairs of Spells and Potions | Medium | 1477 | 78 | Sorting + Comparison |
| # | PROBLEM | DIFF | ELO | IMP | PATTERNS |
|---|---|---|---|---|---|
| 1 | Search in Rotated Sorted Array | Medium | 1450 | 92 | Standard Binary Search |
| 2 | Find Minimum in Rotated Sorted Array | Easy | 1307 | 88 | |
| 3 | Search in Rotated Sorted Array II | Medium | 1540 | 72 | |
| 4 | Find in Mountain Array | Hard | 1827 | 72 | Standard Binary Search |
| 5 | Find Minimum in Rotated Sorted Array II | Medium | 1541 | 62 |
EVERY PATTERN
// your mastery





What's your Binary Search tier?
leaps.gg syncs your LeetCode history and scores your mastery of every pattern, then recommends the exact problems to do next with spaced repetition. Free to start.
GET MY MASTERY MAP →