* 寻找数组中的峰值,峰值即是其值大于左右相邻值的元素 * 数组可能包含多个峰值,在这种情况下,返回任何一个峰值所在位置即可 * @param {number[]} nums * @return {number}
(nums: number[])
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected