摘要: 1.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? 刚看... 阅读全文
posted @ 2015-06-25 23:00 峰子_仰望阳光 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1.Reverse Linked List 题目链接 题目要求: Reverse a singly linked list. Hint: A linked list can be reversed either iteratively or recursively. Could you... 阅读全文
posted @ 2015-06-25 15:04 峰子_仰望阳光 阅读(332) 评论(0) 推荐(0) 编辑