Open MrWittman612 opened 1 year ago
merge sort is in memory sort, you are given a buffer of memory, you can sort it in place, then that object has changed and the original test works, also at a glance I am not positive you have solved merge sort properly anyway
I implemented merge sort. However, it would not pass the test my code is below. I change the return output of merge_sort from a void to a numbers array.
The original stub of code.
I changed the test code from this
To this and it passed.
I am not sure if the test is wrong or if my implementation is incorrect.