摘要: 1. 链表链表逆转 1 class Solution { 2 public: 3 ListNode* reverseList(ListNode* head) { 4 ListNode* prev = NULL; 5 while (head != NULL) {... 阅读全文
posted @ 2015-08-10 20:46 Ryan in C++ 阅读(146) 评论(0) 推荐(0) 编辑