mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 14:18:20 +08:00 
			
		
		
		
	fix(doc/go): fix binary_tree doc (#420)
This commit is contained in:
		@ -510,7 +510,9 @@
 | 
				
			|||||||
=== "Go"
 | 
					=== "Go"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ```go title=""
 | 
					    ```go title=""
 | 
				
			||||||
    
 | 
					    /* 二叉树的数组表示 */
 | 
				
			||||||
 | 
					    // 使用 any 类型的切片, 就可以使用 nil 来标记空位
 | 
				
			||||||
 | 
					    tree := []any{1, 2, 3, 4, nil, 6, 7, 8, 9, nil, nil, 12, nil, nil, 15}
 | 
				
			||||||
    ```
 | 
					    ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
=== "JavaScript"
 | 
					=== "JavaScript"
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user