摘要: import java.util.HashMap; import java.util.Map; public class Solution { public int removeDuplicates(int[] nums) { int size=nums.length; Map map=new HashMap(); int index=0... 阅读全文
posted @ 2016-07-17 15:26 阿怪123 阅读(110) 评论(0) 推荐(0) 编辑
摘要: import java.util.HashMap; import java.util.Map; /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } *... 阅读全文
posted @ 2016-07-17 13:08 阿怪123 阅读(145) 评论(0) 推荐(0) 编辑