摘要:
1 题目Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space f... 阅读全文
2015年9月16日
摘要:
1 题目:Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen l... 阅读全文
摘要:
1 题目:目前被墙,看不了。2 思路:比较简单,注意处理边界点就好3 代码: public ListNode swapPairs(ListNode head) { int temp; if(head == null){ return null;... 阅读全文