Skip to content

Commit

Permalink
0001
Browse files Browse the repository at this point in the history
  • Loading branch information
zzccoder committed Dec 4, 2018
1 parent 72638bc commit a3a1e1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PythonSloution/0000/list排序和过滤.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

# *9、合并有序列表(尾递归),L1=[1,3,5,7,9],L2=[2,4,6,8]
# 分析: 有序表 首数比较小的加入tmp 原表删除 一次重复 直到原表空。

def Combine(L1, L2, tmp):
# 如果有一个列表为空,则直接将表添加进tmp尾部
if not L1 or not L2:
Expand Down

0 comments on commit a3a1e1d

Please sign in to comment.