❔ 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
LPeter19972y 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
Accord2y 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.
Want results from more Discord servers?
Add your server