方法一:递归
void PrintListReversingly(ListNode* pHead){
if (pHead !=NULL){
if (pHead->m_pNext !=NULL){
PrintListReversingly(pHead->m_pNext);
}
printf("%d ",pHead->m_nValue)
}
}
方法一:递归
void PrintListReversingly(ListNode* pHead){
if (pHead !=NULL){
if (pHead->m_pNext !=NULL){
PrintListReversingly(pHead->m_pNext);
}
printf("%d ",pHead->m_nValue)
}
}