Merge dba60f03ae93088a5783ec0306f2dd1684aff47a into b70121d377cb6005eb65f12b098cd5decd905669

This commit is contained in:
duyuanch 2023-09-06 06:10:10 +08:00 committed by GitHub
commit 180236483a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,9 +45,11 @@ public class Selection<T extends Comparable<T>> extends Sort<T> {
min = j; min = j;
} }
} }
if (min != i) {
swap(nums, i, min); swap(nums, i, min);
} }
} }
}
} }
``` ```