Binary Search

Subscribe to see which companies asked this question

You have solved  0/ 38 problems.
# Title Acceptance Difficulty
483 Smallest Good Base 31.0% Hard
475 Heaters 29.7% Easy
454 4Sum II 45.4% Medium
441 Arranging Coins 36.0% Easy
436 Find Right Interval 41.0% Medium
410 Split Array Largest Sum 34.5% Hard
392 Is Subsequence 44.2% Medium
378 Kth Smallest Element in a Sorted Matrix 43.7% Medium
374 Guess Number Higher or Lower 34.3% Easy
367 Valid Perfect Square 37.8% Easy
363 Max Sum of Rectangle No Larger Than K 32.5% Hard
354 Russian Doll Envelopes 31.9% Hard
350 Intersection of Two Arrays II 44.0% Easy
349 Intersection of Two Arrays 46.4% Easy
302 Smallest Rectangle Enclosing Black Pixels 44.6% Hard
300 Longest Increasing Subsequence 37.7% Medium
287 Find the Duplicate Number 42.4% Medium
278 First Bad Version 24.7% Easy
275 H-Index II 33.8% Medium
270 Closest Binary Search Tree Value 38.7% Easy
240 Search a 2D Matrix II 38.0% Medium
230 Kth Smallest Element in a BST 42.7% Medium
222 Count Complete Tree Nodes 27.1% Medium
209 Minimum Size Subarray Sum 29.5% Medium
174 Dungeon Game 23.2% Hard
167 Two Sum II - Input array is sorted 47.5% Easy
162 Find Peak Element 36.4% Medium
154 Find Minimum in Rotated Sorted Array II 36.5% Hard
153 Find Minimum in Rotated Sorted Array 39.1% Medium
81 Search in Rotated Sorted Array II 32.8% Medium
74 Search a 2D Matrix 35.3% Medium
69 Sqrt(x) 27.3% Easy
50 Pow(x, n) 26.8% Medium
35 Search Insert Position 39.2% Easy
34 Search for a Range 31.1% Medium
33 Search in Rotated Sorted Array 32.1% Medium
29 Divide Two Integers 16.0% Medium
4 Median of Two Sorted Arrays 21.2% Hard
Send Feedback