尾递归def_recursion_merge_sort2(l1,l2,tmp):iflen(l1)==0orlen(l2)==0:tmp.extend(l1)tmp.e...
defloop_merge_sort(l1,l2):tmp=[]whilelen(l1)>0andlen(l2)>0:ifl1[0]<l2[0]:...
尾递归def_recursion_merge_sort2(l1,l2,tmp):iflen(l1)==0orlen(l2)==0:tmp.extend(l1)tmp.e...
defloop_merge_sort(l1,l2):tmp=[]whilelen(l1)>0andlen(l2)>0:ifl1[0]<l2[0]:...