binary_search

004.Median-of-Two-Sorted-Arrays (H) 153.Find-Minimum-in-Rotated-Sorted-Array (M+) 154.Find-Minimum-in-Rotated-Sorted-Array-II (H-) 033.Search-in-Rotated-Sorted-Array (M) 081.Search-in-Rotated-Sorted-Array-II (M) 034.Search-for-a-Range (M) 162.Find-Peak-Element (H-) 222.Count-Complete-Tree-Nodes (H-) 275.H-index II (H) 302.Smallest-Rectangle-Enclosing-Black-Pixels (M+) 410.Split-Array-Largest-Sum (H) 475.Heaters (H-) 483.Smallest-Good-Base (H) 029.Divide-Two-Integers (M+) 644.Maximum-Average-Subarray-II (H) 658.Find-K-Closest-Elements (H) 1095.Find-in-Mountain-Array (TBD) 1157.Online-Majority-Element-In-Subarray (H-) 1201.Ugly-Number-III (TBD) 1533.Find-the-Index-of-the-Large-Integer (M) 1712.Ways-to-Split-Array-Into-Three-Subarrays (H) 1889.Minimum-Space-Wasted-From-Packaging (H-) 1901.Find-a-Peak-Element-II (H)

Binary Processing

1483.Kth-Ancestor-of-a-Tree-Node (H) 1922.Count-Good-Numbers (M)

Binary Search by Value

215.Kth-Largest-Element-in-an-Array (M) 287.Find-the-Duplicate-Number (H-) 378.Kth-Smallest-Element-in-a-Sorted-Matrix (H-) 373.Find-K-Pairs-with-Smallest-Sums (H) 668.Kth-Smallest-Number-in-Multiplication-Table (H-) 719.Find-K-th-Smallest-Pair-Distance (H-) 774.Minimize-Max-Distance-to-Gas-Station (H) 786.K-th-Smallest-Prime-Fraction (H-) 793.Preimage-Size-of-Factorial-Zeroes-Function (H-) 1011.Capacity-To-Ship-Packages-Within-D-Days (M) 1060.Missing-Element-in-Sorted-Array (H) 1102.Path-With-Maximum-Minimum-Value (H-) 1539.Kth-Missing-Positive-Number (H-) 1201.Ugly-Number-III (H-) 1231.Divide-Chocolate (M) 1283.Find-the-Smallest-Divisor-Given-a-Threshold (M) 1292.Maximum-Side-Length-of-a-Square-with-Sum-Less-than-or-Equal-to-Threshold (H-) 1300.Sum-of-Mutated-Array-Closest-to-Target (M+) 1439.Find-the-Kth-Smallest-Sum-of-a-Matrix-With-Sorted-Rows (H) 1482.Minimum-Number-of-Days-to-Make-m-Bouquets (M) 1508.Range-Sum-of-Sorted-Subarray-Sums (M+) 1552.Magnetic-Force-Between-Two-Balls (M) 1608.Special-Array-With-X-Elements-Greater-Than-or-Equal-X (M+) 1648.Sell-Diminishing-Valued-Colored-Balls (H-) 1802.Maximum-Value-at-a-Given-Index-in-a-Bounded-Array (M+) 1870.Minimum-Speed-to-Arrive-on-Time (M) 1898.Maximum-Number-of-Removable-Characters (H-) 1891.Cutting-Ribbons (E) 1918.Kth-Smallest-Subarray-Sum (M+)

Last updated