2017年8月26日
摘要: 1 Subsets public List<List<Integer>> subsets(int[] nums) { List<List<Integer>> result = new ArrayList<>(); if (nums.length == 0) { return result; } Ar 阅读全文
posted @ 2017-08-26 20:20 wheleetcode 阅读(160) 评论(0) 推荐(0)
摘要: public ListNode reverse(ListNode head) { // write your code here ListNode pre = null; while (head != null) { ListNode temp = head.next; head.next = pr 阅读全文
posted @ 2017-08-26 17:07 wheleetcode 阅读(128) 评论(0) 推荐(0)