In the code below note the call to arrayMutatingCombineStep(array, min, maxExclusive) which mutates the array.
void dnc(String[] array, int min, int maxExclusive) {
if (isBaseCase(min, maxExclusive)) {
handleBaseCase(min, maxExclusive);
} else {
int mid = midpoint(min, maxExclusive);
Future
|
|