摘要:
#include using namespace std;typedef struct ListNode { int value; ListNode *next; }ListNode; ListNode *Reverse (ListNode *head){ ListNode *pnext; ListNode *pre; ListNode *pcur;if(head->next==NULL)return head;pre = NULL;pcur = head->next;pnext = pcur->next;while(pnext!= NULL){pcur->next = 阅读全文