Solution to Find Peak Element by LeetCode

26 Dec


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 *

Please put your code into a <pre>YOUR CODE</pre> section. Thanks and Happy Coding!