2014年5月18日

LeetCode --- Linked List Cycle II

摘要: 题目链接题意: 给出单链表,判断是否存在环,如果存在要求输出环开始的结点.思路及证明:It is a famous known problem Hare and Tortoise.Length of head to cycle started node: xLength of the cycle: ... 阅读全文

posted @ 2014-05-18 11:51 Stomach_ache 阅读(108) 评论(0) 推荐(0)

导航