摘要:
1 public class Solution { 2 public int longestConsecutive(int[] num) { 3 // IMPORTANT: Please reset any member data you declared, as 4 // the same Solution instance will be reused for each test case. 5 int len = num.length; 6 if(len table = new HashMap(); 9 ... 阅读全文