Binary Search

Subscribe to see which companies asked this question

You have solved  0/ 37 problems.
# Title Acceptance Difficulty
475 Heaters 30.4% Easy
454 4Sum II 43.5% Medium
441 Arranging Coins 35.9% Easy
436 Find Right Interval 41.4% Medium
410 Split Array Largest Sum 32.5% Hard
392 Is Subsequence 44.2% Medium
378 Kth Smallest Element in a Sorted Matrix 43.4% Medium
374 Guess Number Higher or Lower 33.6% Easy
367 Valid Perfect Square 37.4% Medium
363 Max Sum of Rectangle No Larger Than K 32.1% Hard
354 Russian Doll Envelopes 31.8% Hard
350 Intersection of Two Arrays II 43.7% Easy
349 Intersection of Two Arrays 45.7% Easy
302 Smallest Rectangle Enclosing Black Pixels 44.1% Hard
300 Longest Increasing Subsequence 37.4% Medium
287 Find the Duplicate Number 41.8% Hard
278 First Bad Version 24.3% Easy
275 H-Index II 33.6% Medium
270 Closest Binary Search Tree Value 38.2% Easy
240 Search a 2D Matrix II 37.9% Medium
230 Kth Smallest Element in a BST 42.1% Medium
222 Count Complete Tree Nodes 26.9% Medium
209 Minimum Size Subarray Sum 28.7% Medium
174 Dungeon Game 22.9% Hard
167 Two Sum II - Input array is sorted 48.3% Medium
162 Find Peak Element 35.9% Medium
154 Find Minimum in Rotated Sorted Array II 36.2% Hard
153 Find Minimum in Rotated Sorted Array 38.6% Medium
81 Search in Rotated Sorted Array II 32.9% Medium
74 Search a 2D Matrix 35.6% Medium
69 Sqrt(x) 26.9% Medium
50 Pow(x, n) 27.0% Medium
35 Search Insert Position 39.0% Medium
34 Search for a Range 30.9% Medium
33 Search in Rotated Sorted Array 32.0% Hard
29 Divide Two Integers 15.9% Medium
4 Median of Two Sorted Arrays 20.8% Hard
Send Feedback