ListNode* ReverseList(ListNode* pHead)
{
ListNode* newh = NULL;
for(ListNode* p = pHead; ;p=p->next )//p爲工作指針
{
p -> next = newh;
newh = p;
}
return newh;
}
ListNode* ReverseList(ListNode* pHead)
{
ListNode* newh = NULL;
for(ListNode* p = pHead; ;p=p->next )//p爲工作指針
{
p -> next = newh;
newh = p;
}
return newh;
}
#region 登錄信息/// <summary> /// 密碼 /// </summary> private string _Pwd; /// <summary>
https://blog.csdn.net/wai_58934/article/details/126808233
https://blog.csdn.net/qq_44021627/article/details/134175137