合并两链表

struct node *merge(struct node *h1,struct node *h2) { struct node *p1,*p2,*tail; p1 = h1->next; p2 = h2->next; h1->next = NU...

2017-09-11 16:56:11

阅读数 73

评论数 0

链表

逆序建链表并删除重复元素:struct node *Operate(struct node *head,int n) { struct node *p,*q,*x; p = head->next; while(p != NULL) { q = ...

2017-09-11 16:16:35

阅读数 76

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭