在無序數組中隨便找出一個極大值

A peak element is an element that is greater than its neighbors.code Given an input array nums, where nums[i] ≠ nums[i+1], find a peak element and return its index.ip The array may contain multiple pe
相關文章
相關標籤/搜索