Binary Search by Riddhi Dutta
Binary Search by Riddhi Dutta
( by RIDDHI DUTTA )
Connect with me on Instagram.
Connect with me on Linkedin.
Subscribe to my Youtube Channel
N.B - Whenever there is a rotated or a mountain array and we need to search in that array. First
find the inflection point i.e the peak element in case of mountain array or min element or pivot in
case of rotated array. This makes our search much easier though we have to do two binary
searches.
- https://leetcode.com/problems/find-peak-element/
- https://leetcode.com/problems/find-in-mountain-array/
- https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ (Also similar to
finding the pivot point where the array was rotated)
- https://leetcode.com/problems/search-in-rotated-sorted-array/
- https://leetcode.com/problems/search-a-2d-matrix-ii/
- https://www.geeksforgeeks.org/find-median-row-wise-sorted-matrix/
- https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/
- https://leetcode.com/problems/split-array-largest-sum/
- https://leetcode.com/problems/divide-chocolate/
- https://www.interviewbit.com/problems/painters-partition-problem/
- https://practice.geeksforgeeks.org/problems/allocate-minimum-number-of-pages0937/1/
- https://www.spoj.com/problems/AGGRCOW/
- https://leetcode.com/problems/minimize-max-distance-to-gas-station/