已知两个非降序链表序列S1与S2,设计函数构造出S1与S2的交集新链表S3。
#include <stdio.h>
#include <stdlib.h>
typedef struct LNode{
int data;
struct LNode *next;
}LNode, *List;
void create(List *L) {
List head = NULL, p, tail;
int x;
scanf("%d", &x);
while(x != -1) {
p = (struct LNode