Skip to content

Commit 139d5d7

Browse files
committed
Typo fixes
1 parent e45d25f commit 139d5d7

File tree

6 files changed

+1
-1
lines changed

6 files changed

+1
-1
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

pygorithm/sorting/merge_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def sort(List):
2626
if len(List) == 0 or len(List) == 1:
2727
return List
2828
else:
29-
middle = len(x)//2
29+
middle = len(List)//2
3030
a = sort(List[:middle])
3131
b = sort(List[middle:])
3232
return merge(a,b)

0 commit comments

Comments
 (0)