141. Linked List Cycle
摘要:
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Cracking Interview书上原题,快慢指针,如果有环肯定相遇。/** *... 阅读全文
posted @ 2015-04-18 08:14 shini 阅读(106) 评论(0) 推荐(0) 编辑