Tell us what’s happening:
def merge_sort(array):
middle_point = len(array) // 2
left_part=array[:middle_point]
this code isnt running what could be wrong
Your code so far
# User Editable Region
def merge_sort(array):
middle_point = len(array) // 2
left_part=array[:middle_point]
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Learn Data Structures by Building the Merge Sort Algorithm - Step 4