[LeetCode] 141. Linked List Cycle 单链表中的环

Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi
posted @ 2014-12-02 13:23  Grandyang  阅读(17503)  评论(3)    收藏  举报
Fork me on GitHub