-
Notifications
You must be signed in to change notification settings - Fork 20.8k
Closed
Description
I tried your code, find error.
Please check it your code.
I think so this. (My english is bad,Sorry. I'm studying hard.)
for (int i = gap; i < length; i++) {
int j;
T temp = array[i];
for (j = i; j >= gap && less(temp, array[j - gap]); j -= gap) {
array[j] = array[j - gap];
}
array[j] = temp;
}
Metadata
Metadata
Assignees
Labels
No labels