头插法实现反转 struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public: ListNode* ReverseList(ListNode* pHead) { if(!pHead){ return NULL; } ListNode* head_New=NULL,*cur=pHead,*temp=NULL; w...