2015年1月3日

摘要: 题目:Sort a linked list using insertion sort.代码:oj测试通过Runtime:860 ms 1 # Definition for singly-linked list. 2 # class ListNode: 3 # def __init__(sel... 阅读全文
posted @ 2015-01-03 19:54 承续缘 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 公司和学校事情比较多,隔了好几天没刷题,今天继续刷起来。题目:Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve i... 阅读全文
posted @ 2015-01-03 15:58 承续缘 阅读(305) 评论(0) 推荐(0) 编辑

导航