DSA binary search learning path
Java developers preparing for live coding rounds who want to master the classic loop, boundary searches, search on the answer and a two-array median, in order.
Your progress
L1 · 0 of 3L2 · 0 of 7L3 · 0 of 1L4 · 0 of 1
Next
Level 1 · 3 questions. Begin with what gets asked in the first ten minutes. Levels 2 to 4 build on it.
Level 1First ten minutesTwo-sentence answers to what gets asked first.
Classic binary search
- 1.1Binary SearchMust‑knowReview againNext3 min
- 1.2Search Insert PositionMust‑knowReview againNext3 min
Level 2Daily jobWhat you use at work every week.
Boundary binary search
- 1.1Find First and Last Position of Element in Sorted ArrayMust‑knowReview againNext3 min
- 1.2Find Minimum in Rotated Sorted ArrayReview againNext3 min
- 1.3Find Peak ElementReview againNext3 min
- 1.4Search a 2D MatrixReview againNext3 min
- 1.5Search in Rotated Sorted ArrayMust‑knowReview againNext3 min
Binary search on the answer
- 2.1Koko Eating BananasMust‑knowReview againNext3 min
- 2.2Capacity To Ship Packages Within D DaysReview againNext3 min
Level 3SeniorProduction trade-offs and failure modes.
Binary search on the answer
- 1.1Minimum Time RequiredReview againNext3 min
Level 4InternalsHow it works underneath, and at scale.
Boundary binary search
- 1.1Median of Two Sorted ArraysReview againNext4 min
Each card is a topic. Columns go from Level 1 to Level 4; the outlined card is where you are.