❔ 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
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)
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.