Find peak element in an array
Unlock detailed company stats for this questionUpgrade
You are given an array of integers. A peak element is one that is bigger than the number before it and the number after it. Find the index of any one peak element and return it.
Community answers
No answers contributed by the community yet.
Related questions
Find the K'th smallest element in an array.Efficiently find the next greatest element in an array.Find the K smallest elements of an array.Related courses

Course

Course
Course
