xiaozhi007

Results 3 comments of xiaozhi007

提一个小点: ```java Arrays.sort(intvs, new Comparator() { public int compare(int[] a, int[] b) { return a[1] - b[1]; } }); ``` ```java 最好改成后面的这个: Arrays.sort(points, (o1,o2)->{ if(o1[1]>o2[1]) return 1; if(o1[1]

public static class BSTInfo { public boolean isBST; public int maxSum; public int min; public int max;} ===> 返回数组是很好的方法,不过如果返回一个自定义对象会更清晰。

@labuladong 确实,思路很重要!你的文章很不错!成体系,并且通俗易懂!