Binary Search

Subscribe to see which companies asked this question

You have solved  0/ 44 problems.
# Title Acceptance Difficulty
744 Find Smallest Letter Greater Than Target 46.4%
Easy
719 Find K-th Smallest Pair Distance 26.9%
Hard
718 Maximum Length of Repeated Subarray 41.0%
Medium
668 Kth Smallest Number in Multiplication Table 39.3%
Hard
658 Find K Closest Elements 35.5%
Medium
644 Maximum Average Subarray II 24.2%
Hard
483 Smallest Good Base 33.7%
Hard
475 Heaters 29.6%
Easy
454 4Sum II 47.6%
Medium
441 Arranging Coins 36.4%
Easy
436 Find Right Interval 41.5%
Medium
410 Split Array Largest Sum 39.1%
Hard
392 Is Subsequence 44.7%
Medium
378 Kth Smallest Element in a Sorted Matrix 45.4%
Medium
374 Guess Number Higher or Lower 36.3%
Easy
367 Valid Perfect Square 38.6%
Easy
363 Max Sum of Rectangle No Larger Than K 33.6%
Hard
354 Russian Doll Envelopes 32.6%
Hard
350 Intersection of Two Arrays II 44.9%
Easy
349 Intersection of Two Arrays 47.9%
Easy
302 Smallest Rectangle Enclosing Black Pixels 46.4%
Hard
300 Longest Increasing Subsequence 38.8%
Medium
287 Find the Duplicate Number 44.1%
Medium
278 First Bad Version 26.0%
Easy
275 H-Index II 34.8%
Medium
270 Closest Binary Search Tree Value 40.4%
Easy
240 Search a 2D Matrix II 39.0%
Medium
230 Kth Smallest Element in a BST 44.9%
Medium
222 Count Complete Tree Nodes 27.7%
Medium
209 Minimum Size Subarray Sum 31.8%
Medium
174 Dungeon Game 24.0%
Hard
167 Two Sum II - Input array is sorted 47.2%
Easy
162 Find Peak Element 38.5%
Medium
154 Find Minimum in Rotated Sorted Array II 37.7%
Hard
153 Find Minimum in Rotated Sorted Array 40.6%
Medium
81 Search in Rotated Sorted Array II 32.7%
Medium
74 Search a 2D Matrix 34.8%
Medium
69 Sqrt(x) 28.6%
Easy
50 Pow(x, n) 26.0%
Medium
35 Search Insert Position 40.0%
Easy
34 Search for a Range 31.6%
Medium
33 Search in Rotated Sorted Array 32.1%
Medium
29 Divide Two Integers 15.9%
Medium
4 Median of Two Sorted Arrays 22.6%
Hard