Skip to content

Commit 5a72783

Browse files
committed
new: adding challenge template for merge sort -@iamserda
1 parent 7c8f37a commit 5a72783

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import math
2+
3+
4+
def merge_sort(arr):
5+
pass
6+
7+
8+
arr1 = [11, 3, 5, 7, 0, 2, 4, -5, 7, 8]
9+
arr2 = sorted(arr1)
10+
arr3 = merge_sort(arr1)
11+
print(arr3)
12+
assert arr3 == arr2

0 commit comments

Comments
 (0)