Suryanand
Resources
Sky
Emerald
Database
Home
← All DSA topics
·
System design
Binary Search
20 problems in this topic. Select one to open the tabbed viewer.
Problems
1.
875. Koko Eating Bananas
2.
1011. Capacity To Ship Packages Within D Days
3.
410. Split Array Largest Sum
4.
240. Search a 2D Matrix II — sorted rows and columns.
5.
162. Find Peak Element
6.
4. Median of Two Sorted Arrays — binary partition.
7.
1870. Minimum Speed to Arrive on Time — binary search on speed.
8.
1552. Magnetic Force Between Two Balls
9.
540. Single Element in a Sorted Array
10.
81. Search in Rotated Sorted Array II — duplicates.
11.
275. H-Index II — citations sorted ascending.
12.
69. Sqrt(x)
13.
878. Nth Magical Number
14.
852. Peak Index in a Mountain Array
15.
1760. Minimum Limit of Balls in a Bag
16.
34. Find First and Last Position of Element in Sorted Array
17.
441. Arranging Coins — complete rows staircase.
18.
35. Search Insert Position
19.
153. Find Minimum in Rotated Sorted Array — no duplicates.
20.
2300. Successful Pairs of Spells and Potions — sort + bisect per spell.