摘要:
面试题见剑指offer:struct ListNode { int value; ListNode *next; }; void DeleteNode(ListNode **pListHead,ListNode * pToBeDeleted){ if(!pListHead||!pToBeDeleted) return; if(pToBeDeleted->next) { ListNode *pNext=pToBeDeleted->next; pToBeDeleted->value=pNext->value; pToBeDeleted->next=pNext-> 阅读全文