2021年12月22日

树状数组求逆序对

摘要: class Solution { public int reversePairs(int[] nums) { int l = nums.length; int []tmp = new int[l];//l就可以 System.arraycopy(nums,0,tmp,0,l); Arrays.sor 阅读全文

posted @ 2021-12-22 17:06 cltt 阅读(26) 评论(0) 推荐(0) 编辑

导航