摘要:
#include<iostream>#include<assert.h>using namespace std;struct node{ int val; node * next; node(int v) { val=v; next=NULL; }};node * merge(node* list1 , node * list2){ assert(list1!=NULL&&list2!=NULL); node * res; if(list1->val<=list2->val) { res=list1; list1=list1->n 阅读全文