摘要: 思路: 1.Divide & Conquer 2.Merge sorted list. 阅读全文
posted @ 2016-03-31 11:05 YuriFLAG 阅读(104) 评论(0) 推荐(0)
摘要: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 阅读全文
posted @ 2016-03-31 10:14 YuriFLAG 阅读(141) 评论(0) 推荐(0)
摘要: Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest i 阅读全文
posted @ 2016-03-31 09:09 YuriFLAG 阅读(165) 评论(0) 推荐(0)