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-- {