Binary Search

Subscribe to see which companies asked this question

You have solved  0/ 41 problems.
# Title Acceptance Difficulty
668 Kth Smallest Number in Multiplication Table 35.7% Hard
658 Find K Closest Elements 36.2% Medium
644 Maximum Average Subarray II 21.1% Hard
483 Smallest Good Base 33.3% Hard
475 Heaters 29.6% Easy
454 4Sum II 46.9% Medium
441 Arranging Coins 36.3% Easy
436 Find Right Interval 41.3% Medium
410 Split Array Largest Sum 37.8% Hard
392 Is Subsequence 44.5% Medium
378 Kth Smallest Element in a Sorted Matrix 44.9% Medium
374 Guess Number Higher or Lower 35.6% Easy
367 Valid Perfect Square 38.3% Easy
363 Max Sum of Rectangle No Larger Than K 33.2% Hard
354 Russian Doll Envelopes 32.2% Hard
350 Intersection of Two Arrays II 44.7% Easy
349 Intersection of Two Arrays 47.4% Easy
302 Smallest Rectangle Enclosing Black Pixels 45.6% Hard
300 Longest Increasing Subsequence 38.5% Medium
287 Find the Duplicate Number 43.6% Medium
278 First Bad Version 25.5% Easy
275 H-Index II 34.5% Medium
270 Closest Binary Search Tree Value 39.6% Easy
240 Search a 2D Matrix II 38.7% Medium
230 Kth Smallest Element in a BST 44.0% Medium
222 Count Complete Tree Nodes 27.5% Medium
209 Minimum Size Subarray Sum 31.0% Medium
174 Dungeon Game 23.9% Hard
167 Two Sum II - Input array is sorted 47.1% Easy
162 Find Peak Element 37.7% Medium
154 Find Minimum in Rotated Sorted Array II 37.3% Hard
153 Find Minimum in Rotated Sorted Array 40.1% Medium
81 Search in Rotated Sorted Array II 32.7% Medium
74 Search a 2D Matrix 34.9% Medium
69 Sqrt(x) 27.9% Easy
50 Pow(x, n) 26.2% Medium
35 Search Insert Position 39.8% Easy
34 Search for a Range 31.4% Medium
33 Search in Rotated Sorted Array 32.1% Medium
29 Divide Two Integers 15.9% Medium
4 Median of Two Sorted Arrays 22.0% Hard