Find Peak Element at Meta
Medium46.8% acceptance
This problem has 87.5% frequency at Meta.
Problem Description
A peak element is an element that is strictly greater than its neighbors. Given a **0-indexed** integer array `nums`, find a peak element, and return its index. If the array contains multiple peaks, return the index to **any of the peaks**. You may imagine that `nums[-1] = nums[n] = -∞`. In other...
Read full problem and hintsTopics
Also asked at 33 companies
More Meta Questions
Kth Largest Element in an ArrayMediumTwo SumEasyMerge IntervalsMediumMerge Sorted ArrayEasyTop K Frequent ElementsMedium
View all Meta questions