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.


