摘要: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? tags提示:two pointers 采用“快慢双指针”的方法来判断: 每次 阅读全文
posted @ 2014-12-04 20:45 Mr.do 阅读(109) 评论(0) 推荐(0) 编辑