This commit is contained in:
krahets
2023-10-08 01:43:28 +08:00
parent 3d2d669b43
commit baac2d11a7
52 changed files with 999 additions and 625 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ comments: true
```csharp title="selection_sort.cs"
/* 选择排序 */
void selectionSort(int[] nums) {
void SelectionSort(int[] nums) {
int n = nums.Length;
// 外循环:未排序区间为 [i, n-1]
for (int i = 0; i < n - 1; i++) {