#leetcode#Linked List Cycle
摘要:
1、题目Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?2、思路设置两个指针,一个每次走一步,另一个每次走两步。走两步的一定会追上走... 阅读全文
posted @ 2014-09-11 17:47 erli11 阅读(133) 评论(0) 推荐(0)
浙公网安备 33010602011771号