❔ Recursion Method Psuedocode

how do i recursively sort both sublists at the bottom? in pseudocode they are written left:=MergeSort(left) right:=MergeSort(right)
2 Replies
LPeter1997
LPeter199717mo ago
You can pass in indices, use a Span, ... Note that mergesort recurses first, this is more similar to how quicksort would be structured (except that partitioning is wrong)
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.