mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 22:28:40 +08:00 
			
		
		
		
	Update binary_tree.md
This commit is contained in:
		@ -56,11 +56,11 @@ comments: true
 | 
			
		||||
 | 
			
		||||
<div class="center-table" markdown>
 | 
			
		||||
 | 
			
		||||
|                               | 完美二叉树 | 链表           |
 | 
			
		||||
| ----------------------------- | ---------- | -------------- |
 | 
			
		||||
| 二叉树第 $i$ 层的结点数量     | $2^{i-1}$  | $1$            |
 | 
			
		||||
|                               | 完美二叉树 | 链表         |
 | 
			
		||||
| ----------------------------- | ---------- | ---------- |
 | 
			
		||||
| 二叉树第 $i$ 层的结点数量     | $2^{i-1}$  | $1$           |
 | 
			
		||||
| 高度为 $h$ 的二叉树的结点总数 | $2^h - 1$  | $h$            |
 | 
			
		||||
| 结点总数为 $n$ 的二叉树的高度 | $\log_2 n + 1$        | $n$ |
 | 
			
		||||
| 结点总数为 $n$ 的二叉树的高度 | $\log_2 n + 1$ | $n$        |
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user