摘要: 华为技术面碰到一道力扣题,直接给出链接。 下面给出两种方法 class Solution1502 { // 方法一:直接排序 public boolean canMakeArithmetricProgression1(int[] arr) { if (arr.length == 1 || arr.l 阅读全文
posted @ 2021-08-10 20:42 Peterxiazhen 阅读(35) 评论(0) 推荐(0) 编辑