binary_search

004.Median-of-Two-Sorted-Arraysarrow-up-right (H) 153.Find-Minimum-in-Rotated-Sorted-Arrayarrow-up-right (M+) 154.Find-Minimum-in-Rotated-Sorted-Array-IIarrow-up-right (H-) 033.Search-in-Rotated-Sorted-Arrayarrow-up-right (M) 081.Search-in-Rotated-Sorted-Array-IIarrow-up-right (M) 034.Search-for-a-Rangearrow-up-right (M) 162.Find-Peak-Elementarrow-up-right (H-) 222.Count-Complete-Tree-Nodesarrow-up-right (H-) 275.H-index IIarrow-up-right (H) 302.Smallest-Rectangle-Enclosing-Black-Pixelsarrow-up-right (M+) 410.Split-Array-Largest-Sumarrow-up-right (H) 475.Heatersarrow-up-right (H-) 483.Smallest-Good-Basearrow-up-right (H) 029.Divide-Two-Integersarrow-up-right (M+) 644.Maximum-Average-Subarray-IIarrow-up-right (H) 658.Find-K-Closest-Elementsarrow-up-right (H) 1095.Find-in-Mountain-Array (TBD) 1157.Online-Majority-Element-In-Subarrayarrow-up-right (H-) 1201.Ugly-Number-III (TBD) 1533.Find-the-Index-of-the-Large-Integerarrow-up-right (M) 1712.Ways-to-Split-Array-Into-Three-Subarraysarrow-up-right (H) 1889.Minimum-Space-Wasted-From-Packagingarrow-up-right (H-) 1901.Find-a-Peak-Element-IIarrow-up-right (H)

Binary Processing

1483.Kth-Ancestor-of-a-Tree-Nodearrow-up-right (H) 1922.Count-Good-Numbersarrow-up-right (M)

Binary Search by Value

215.Kth-Largest-Element-in-an-Arrayarrow-up-right (M) 287.Find-the-Duplicate-Numberarrow-up-right (H-) 378.Kth-Smallest-Element-in-a-Sorted-Matrixarrow-up-right (H-) 373.Find-K-Pairs-with-Smallest-Sumsarrow-up-right (H) 668.Kth-Smallest-Number-in-Multiplication-Tablearrow-up-right (H-) 719.Find-K-th-Smallest-Pair-Distancearrow-up-right (H-) 774.Minimize-Max-Distance-to-Gas-Stationarrow-up-right (H) 786.K-th-Smallest-Prime-Fractionarrow-up-right (H-) 793.Preimage-Size-of-Factorial-Zeroes-Functionarrow-up-right (H-) 1011.Capacity-To-Ship-Packages-Within-D-Daysarrow-up-right (M) 1060.Missing-Element-in-Sorted-Arrayarrow-up-right (H) 1102.Path-With-Maximum-Minimum-Valuearrow-up-right (H-) 1539.Kth-Missing-Positive-Numberarrow-up-right (H-) 1201.Ugly-Number-IIIarrow-up-right (H-) 1231.Divide-Chocolatearrow-up-right (M) 1283.Find-the-Smallest-Divisor-Given-a-Thresholdarrow-up-right (M) 1292.Maximum-Side-Length-of-a-Square-with-Sum-Less-than-or-Equal-to-Thresholdarrow-up-right (H-) 1300.Sum-of-Mutated-Array-Closest-to-Targetarrow-up-right (M+) 1439.Find-the-Kth-Smallest-Sum-of-a-Matrix-With-Sorted-Rowsarrow-up-right (H) 1482.Minimum-Number-of-Days-to-Make-m-Bouquetsarrow-up-right (M) 1508.Range-Sum-of-Sorted-Subarray-Sumsarrow-up-right (M+) 1552.Magnetic-Force-Between-Two-Ballsarrow-up-right (M) 1608.Special-Array-With-X-Elements-Greater-Than-or-Equal-Xarrow-up-right (M+) 1648.Sell-Diminishing-Valued-Colored-Ballsarrow-up-right (H-) 1802.Maximum-Value-at-a-Given-Index-in-a-Bounded-Arrayarrow-up-right (M+) 1870.Minimum-Speed-to-Arrive-on-Timearrow-up-right (M) 1898.Maximum-Number-of-Removable-Charactersarrow-up-right (H-) 1891.Cutting-Ribbonsarrow-up-right (E) 1918.Kth-Smallest-Subarray-Sumarrow-up-right (M+)

Last updated