LeetCode 406.根据身高重建队列

这道题目,有两个考点:数组 二维数组的针对某一位的排序 排序以后插入的方法 class Solution { public int[][] reconstructQueue(int[][] people) { Arrays.sort(people, 0, people.length, new MyComparator()); List<in
相关文章
相关标签/搜索