摘要:
1 public class Solution { 2 public ArrayList> threeSum(int[] num) { 3 if(num == null) 4 return null; 5 6 Arrays.sort(num); 7 HashSet> set = new HashSet>(); 8 9 for(int i = 0; i tmp = new ArrayList();17 tmp.add(nu... 阅读全文
摘要:
1 public class Solution { 2 public ArrayList> threeSum(int[] num) { 3 if(num == null) 4 return null; 5 6 Arrays.sort(num); 7 HashSet> set = new HashSet>(); 8 9 for(int i = 0; i tmp = new ArrayList();17 tmp.add(nu... 阅读全文
|