Skip to content

Commit

Permalink
new: adding challenge template for merge sort -@iamserda
Browse files Browse the repository at this point in the history
  • Loading branch information
iamserda committed Feb 23, 2025
1 parent 7c8f37a commit 5a72783
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import math


def merge_sort(arr):
pass


arr1 = [11, 3, 5, 7, 0, 2, 4, -5, 7, 8]
arr2 = sorted(arr1)
arr3 = merge_sort(arr1)
print(arr3)
assert arr3 == arr2

0 comments on commit 5a72783

Please sign in to comment.