摘要:
Reverse a singly linked list. Example: Follow up: A linked list can be reversed either iteratively or recursively. Could you implement both? 反转单链表,看到我 阅读全文
posted @ 2018-10-31 20:29
Pickle
阅读(256)
评论(0)
推荐(0)
摘要:
Given a linked list, swap every two adjacent nodes and return its head. Example: Note: Your algorithm should use only constant extra space. You may no 阅读全文
posted @ 2018-10-31 20:06
Pickle
阅读(251)
评论(0)
推荐(0)
浙公网安备 33010602011771号