Binary Search

Subscribe to see which companies asked this question

You have solved  0/ 43 problems.
# Title Acceptance Difficulty
719 Find K-th Smallest Pair Distance 25.2% Hard
718 Maximum Length of Repeated Subarray 40.0% Medium
668 Kth Smallest Number in Multiplication Table 37.7% Hard
658 Find K Closest Elements 35.3% Medium
644 Maximum Average Subarray II 23.0% Hard
483 Smallest Good Base 33.4% Hard
475 Heaters 29.6% Easy
454 4Sum II 47.2% Medium
441 Arranging Coins 36.3% Easy
436 Find Right Interval 41.4% Medium
410 Split Array Largest Sum 38.6% Hard
392 Is Subsequence 44.6% Medium
378 Kth Smallest Element in a Sorted Matrix 45.2% Medium
374 Guess Number Higher or Lower 35.9% Easy
367 Valid Perfect Square 38.5% Easy
363 Max Sum of Rectangle No Larger Than K 33.4% Hard
354 Russian Doll Envelopes 32.4% Hard
350 Intersection of Two Arrays II 44.8% Easy
349 Intersection of Two Arrays 47.6% Easy
302 Smallest Rectangle Enclosing Black Pixels 46.0% Hard
300 Longest Increasing Subsequence 38.7% Medium
287 Find the Duplicate Number 43.8% Medium
278 First Bad Version 25.8% Easy
275 H-Index II 34.7% Medium
270 Closest Binary Search Tree Value 40.1% Easy
240 Search a 2D Matrix II 38.8% Medium
230 Kth Smallest Element in a BST 44.5% Medium
222 Count Complete Tree Nodes 27.6% Medium
209 Minimum Size Subarray Sum 31.4% Medium
174 Dungeon Game 23.9% Hard
167 Two Sum II - Input array is sorted 47.2% Easy
162 Find Peak Element 38.1% Medium
154 Find Minimum in Rotated Sorted Array II 37.5% Hard
153 Find Minimum in Rotated Sorted Array 40.3% Medium
81 Search in Rotated Sorted Array II 32.7% Medium
74 Search a 2D Matrix 34.9% Medium
69 Sqrt(x) 28.2% Easy
50 Pow(x, n) 26.0% Medium
35 Search Insert Position 39.8% Easy
34 Search for a Range 31.4% Medium
33 Search in Rotated Sorted Array 32.0% Medium
29 Divide Two Integers 15.9% Medium
4 Median of Two Sorted Arrays 22.3% Hard