Get to know about the improper tones.
Mitchell Hashimoto Co-founder, HashiCorp,更多细节参见夫子
it was pretty much the same as the ATMs we use today. To use a 2984, you,这一点在heLLoword翻译官方下载中也有详细论述
思路:① 找初始左边界:第一个 nums[i] nums[i+1];② 找初始右边界:最后一个 nums[i] < nums[i-1];③ 求 [left,right] 内 min、max;④ 向左扩展:nums[left-1] minVal 则 left--;⑤ 向右扩展:nums[right+1] < maxVal 则 right++。长度 = right - left + 1。