01 2017 档案

摘要:"148. Sort List" Sort a linked list in O(n log n) time using constant space complexity. Solution 利用归并排序的思想 Definition for singly linked list. class Li 阅读全文
posted @ 2017-01-17 22:15 BinWone 阅读(116) 评论(0) 推荐(0)
摘要:"160. Intersection of Two Linked Lists" Write a program to find the node at which the intersection of two singly linked lists begins. For example, the 阅读全文
posted @ 2017-01-03 21:47 BinWone 阅读(142) 评论(0) 推荐(0)
摘要:"328. Odd Even Linked List" Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about 阅读全文
posted @ 2017-01-03 17:17 BinWone 阅读(122) 评论(0) 推荐(0)
摘要:"234. Palindrome Linked List" Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? 判断一 阅读全文
posted @ 2017-01-03 12:00 BinWone 阅读(116) 评论(0) 推荐(0)