Hi 大家,这道题是lintcode上的find peak element的题,不是leecode的那道, 这两道题是有区别的,这道题的题目中说明了:只有左右两侧的数都小于某个元素,这种才是峰值, 而leetcode的题,是只要找到个最大值就行,可以是[1,2]这种. There is an integer array which has the following features: The numbers in adjacent positions are different. A[0] <…