Merge Sort Implementation

Implement merge_sort(arr) and its merge(left, right) helper, sorting a list of integers using the divide-and-conquer strategy.

Read a list of space-separated integers and print the sorted result, space-separated.

main.py
Loading editor…

Console

Run your code to see output here.