摘要: 以后打算刷题按照同样的类型来。 941. 有效的山脉数组 我的解法: class Solution { public boolean validMountainArray(int[] arr) { int max=0; int maxindex=0; //判断是否小于三 if(arr.length 阅读全文
posted @ 2020-11-18 20:38 leon-tzc 阅读(94) 评论(0) 推荐(0)