Fix code indentation.

This commit is contained in:
Yudong Jin 2023-02-03 01:17:09 +08:00
parent 64517f2f46
commit 592965595e
2 changed files with 3 additions and 3 deletions

View file

@ -1406,8 +1406,8 @@ $$
=== "Go"
```go title="time_complexity.go"
/* 平方阶(冒泡排序) */
func bubbleSort(nums []int) int {
/* 平方阶(冒泡排序) */
func bubbleSort(nums []int) int {
count := 0 // 计数器
// 外循环:待排序元素数量为 n-1, n-2, ..., 1
for i := len(nums) - 1; i > 0; i-- {

View file

@ -157,7 +157,7 @@ comments: true
=== "C#"
```csharp title="insertion_sort.cs"
/* 插入排序 */
/* 插入排序 */
void insertionSort(int[] nums)
{
// 外循环base = nums[1], nums[2], ..., nums[n-1]