2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -10,8 +10,8 @@ def merge(left, right):
|
|||
result.append(right[right_idx])
|
||||
right_idx += 1
|
||||
|
||||
if left:
|
||||
if left_idx < len(left):
|
||||
result.extend(left[left_idx:])
|
||||
if right:
|
||||
if right_idx < len(right):
|
||||
result.extend(right[right_idx:])
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue