Binary Search

Subscribe to see which companies asked this question

You have solved  0/ 39 problems.
# Title Acceptance Difficulty
644 Maximum Average Subarray II 18.4% Hard
483 Smallest Good Base 32.3% Hard
475 Heaters 29.6% Easy
454 4Sum II 46.2% Medium
441 Arranging Coins 36.3% Easy
436 Find Right Interval 41.3% Medium
410 Split Array Largest Sum 36.6% Hard
392 Is Subsequence 44.4% Medium
378 Kth Smallest Element in a Sorted Matrix 44.5% Medium
374 Guess Number Higher or Lower 35.2% Easy
367 Valid Perfect Square 38.1% Easy
363 Max Sum of Rectangle No Larger Than K 33.0% Hard
354 Russian Doll Envelopes 32.2% Hard
350 Intersection of Two Arrays II 44.6% Easy
349 Intersection of Two Arrays 47.2% Easy
302 Smallest Rectangle Enclosing Black Pixels 45.3% Hard
300 Longest Increasing Subsequence 38.3% Medium
287 Find the Duplicate Number 43.2% Medium
278 First Bad Version 25.1% Easy
275 H-Index II 34.3% Medium
270 Closest Binary Search Tree Value 39.3% Easy
240 Search a 2D Matrix II 38.4% Medium
230 Kth Smallest Element in a BST 43.6% Medium
222 Count Complete Tree Nodes 27.4% Medium
209 Minimum Size Subarray Sum 30.4% Medium
174 Dungeon Game 23.7% Hard
167 Two Sum II - Input array is sorted 47.1% Easy
162 Find Peak Element 37.2% Medium
154 Find Minimum in Rotated Sorted Array II 37.0% Hard
153 Find Minimum in Rotated Sorted Array 39.7% Medium
81 Search in Rotated Sorted Array II 32.8% Medium
74 Search a 2D Matrix 35.1% Medium
69 Sqrt(x) 27.7% Easy
50 Pow(x, n) 26.4% Medium
35 Search Insert Position 39.7% Easy
34 Search for a Range 31.3% Medium
33 Search in Rotated Sorted Array 32.1% Medium
29 Divide Two Integers 16.0% Medium
4 Median of Two Sorted Arrays 21.6% Hard
  Send Feedback