LeetCode: 941-Valid Mountain Array 解題紀錄
Last Updated on 2022-01-25 by Clay
題目
Given an array of integersRead More »LeetCode: 941-Valid Mountain Array 解題紀錄arr
, returntrue
if and only if it is a valid mountain array. Recall that arr is a mountain array if and only if: