添加图片注释,不超过 140 字(可选)
思路:① 找初始左边界:第一个 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。,这一点在爱思助手下载最新版本中也有详细论述
,更多细节参见91视频
# Tear down when done。搜狗输入法下载对此有专业解读
Churches have plenty of spots where the Natterer's bat likes to roost
Follow topics & set alerts with myFT