摘要: leetcode - Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up:Can you solve... 阅读全文
posted @ 2015-07-14 17:53 cnblogshnj 阅读(143) 评论(0) 推荐(0)
摘要: leetcode -Palindrome Linked ListGiven a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space? 1 /... 阅读全文
posted @ 2015-07-14 14:55 cnblogshnj 阅读(175) 评论(0) 推荐(0)