用单链表求两个集合的交集
问题描述:
用单链表求两个集合的交集
答
struct Link{int data;struct Link *next;};struct Link *CreateLink(){struct Link *head=NULL,*p=NULL,*q=NULL;head = (struct Link *)malloc(sizeof(struct Link));head->next = NULL;p = head;int n=1;printf("P...