标签:index turn list out nbsp lis bsp tco int
Given a linked list, determine if it has a cycle in it.
Example
Given -21->10->4->5, tail connects to node index 1, return true
Challenge
Follow up:
Can you solve it without using extra space?
s
[LintCode] Linked List Cycle 单链表中的环
标签:index turn list out nbsp lis bsp tco int
原文地址:http://www.cnblogs.com/grandyang/p/6115972.html