摘要: import java.util.*; public class Solution { public int longestConsecutive(int[] num) { if( num==null || num.length == 0){ return 0; } if(num.length==1){ ... 阅读全文
posted @ 2019-08-19 09:50 紫色的雪 阅读(1170) 评论(0) 推荐(0) 编辑