Solution to Find Peak Element by LeetCode

26 Dec

Question: https://oj.leetcode.com/problems/find-peak-element/

Question Name: Find Peak Element

The key point is: return the index to ANY ONE of the peaks. So O(logN) is possible.

Leave a Reply

Your email address will not be published. Required fields are marked *