摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?Hid... 阅读全文
posted @ 2015-01-06 15:00 A_zhu 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).Find the minimum element.You m... 阅读全文
posted @ 2015-01-06 14:00 A_zhu 阅读(132) 评论(0) 推荐(0) 编辑