摘要: 单链表逆置 void ReverseList(LinkList &L){ //1 LNode* p,*q;//2 p=L->next;//3 L->next=NULL;//4 while(p!=NULL){//5 q=p;//6 p=p->next;//7 q->next=L->next;//8 L 阅读全文
posted @ 2019-03-25 20:06 2276543 阅读(80) 评论(0) 推荐(0) 编辑