摘要:
#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 = 阅读全文
posted @ 2013-08-28 00:46
cheng_you_know
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号