摘要: Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?[Thoughts]有一种使用两个指针的方法,一个fast指针,每次移动两步;一个s... 阅读全文
posted @ 2015-01-15 13:19 andrew-chen 阅读(222) 评论(0) 推荐(0) 编辑