2022年8月13日

java 滑动窗口

摘要: 数组A中每间隔Y-1个的连续X个数的最小和 public static int solution(int[] A, int X, int Y) { int n = A.length; int l = 0, r = (X - 1) * Y; int minn = 9999999; while (r < 阅读全文

posted @ 2022-08-13 21:26 cltt 阅读(238) 评论(0) 推荐(0) 编辑

导航