合并两个排好序的链表

typedef struct Nodetag{TYPE val; struct Nodetag * next;} Node; typedef Node* pNode; Node* combine(Node* p1, Node* p2) { Node *head, *p; if(p1 == NULL) return p2; if(p2 == NULL) return p1;
相关文章
相关标签/搜索