Browse Source

first commit

master
David 5 years ago
parent
commit
1ff7848165
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Mergesort/src/Mergesort.java

+ 1
- 0
Mergesort/src/Mergesort.java View File

@@ -20,6 +20,7 @@ public class Mergesort {
int i, j; int i, j;
for (i = l; i <= q; i++) { for (i = l; i <= q; i++) {
arr[i] = intArr[i]; arr[i] = intArr[i];
// seas
} }
for (j = q + 1; j <= r; j++) { for (j = q + 1; j <= r; j++) {
arr[r + q + 1 - j] = intArr[j]; arr[r + q + 1 - j] = intArr[j];


Loading…
Cancel
Save