摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do not modify the linked list.Fol... 阅读全文
posted @ 2018-10-21 13:57 绿叶萌飞 阅读(127) 评论(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 @ 2018-10-21 12:34 绿叶萌飞 阅读(124) 评论(0) 推荐(0) 编辑