mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 09:16:28 +08:00
Update binary_tree.md
This commit is contained in:
parent
62c40fdf1b
commit
565fe49205
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ comments: true
|
|||
| ----------------------------- | ---------- | -------------- |
|
||||
| 二叉树第 $i$ 层的结点数量 | $2^{i-1}$ | $1$ |
|
||||
| 高度为 $h$ 的二叉树的结点总数 | $2^h - 1$ | $h$ |
|
||||
| 结点总数为 $n$ 的二叉树的高度 | $n$ | $\log_2 n + 1$ |
|
||||
| 结点总数为 $n$ 的二叉树的高度 | $\log_2 n + 1$ | $n$ |
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue