class Solution:
def peakIndexInMountainArray(self, A):
"""
:type A: List[int]
:rtype: int
"""
return A.index(max(A))
leetcode - 852 - 山脉数组的峰顶索引
猜你喜欢
转载自blog.csdn.net/hustwayne/article/details/83545013
今日推荐
周排行