摘要: 反转链表: 206. 反转链表 1 class Solution { 2 public: 3 ListNode* reverseList(ListNode* head) { 4 if(head == nullptr || head->next == nullptr) return head; 5 L 阅读全文
posted @ 2018-02-23 21:43 乐乐章 阅读(116) 评论(0) 推荐(0) 编辑