反转链表与从尾到头打印链表

反转链表 ListNode* ReverseList(ListNode* pHead){ if(pHead == NULL) { return NULL; } if(pHead->next == NULL) { return pHead; } ListNode* pCur = pHead->next; ListNode*
相关文章
相关标签/搜索