mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 22:28:40 +08:00 
			
		
		
		
	Fix code indentation.
This commit is contained in:
		@ -1406,8 +1406,8 @@ $$
 | 
				
			|||||||
=== "Go"
 | 
					=== "Go"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ```go title="time_complexity.go"
 | 
					    ```go title="time_complexity.go"
 | 
				
			||||||
     /* 平方阶(冒泡排序) */
 | 
					    /* 平方阶(冒泡排序) */
 | 
				
			||||||
     func bubbleSort(nums []int) int {
 | 
					    func bubbleSort(nums []int) int {
 | 
				
			||||||
        count := 0 // 计数器
 | 
					        count := 0 // 计数器
 | 
				
			||||||
        // 外循环:待排序元素数量为 n-1, n-2, ..., 1
 | 
					        // 外循环:待排序元素数量为 n-1, n-2, ..., 1
 | 
				
			||||||
        for i := len(nums) - 1; i > 0; i-- {
 | 
					        for i := len(nums) - 1; i > 0; i-- {
 | 
				
			||||||
 | 
				
			|||||||
@ -157,7 +157,7 @@ comments: true
 | 
				
			|||||||
=== "C#"
 | 
					=== "C#"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ```csharp title="insertion_sort.cs"
 | 
					    ```csharp title="insertion_sort.cs"
 | 
				
			||||||
     /* 插入排序 */
 | 
					    /* 插入排序 */
 | 
				
			||||||
    void insertionSort(int[] nums)
 | 
					    void insertionSort(int[] nums)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // 外循环:base = nums[1], nums[2], ..., nums[n-1]
 | 
					        // 外循环:base = nums[1], nums[2], ..., nums[n-1]
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user