📜  找到最高海拔 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:27.854000             🧑  作者: Mango

代码示例2
Input: gain = [-5,1,5,0,-7]
Output: 1
Explanation: The altitudes are [0,-5,-4,1,1,-6]. The highest is 1.