摘要: My solution: class Solution { public boolean isMonotonic(int[] nums) { if(nums==null||nums.length<3){ return true; } int first = nums[0]; int second = 阅读全文
posted @ 2022-04-21 01:33 阳光明媚的菲越 阅读(14) 评论(0) 推荐(0) 编辑