In this problem you have to return the peak of mountain array
Mountain array is array in which first value will keep on increasing and after the peak it will decrease
So the problem is asking to return the index of peak element
#leetcode #dsa #binarysearch
Download
0 formats
No download links available.
LeetCode | 852. Peak Index in a Mountain Array | Binary Search | NatokHD