mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-16 13:40:58 +00:00
deploy
This commit is contained in:
@@ -5904,11 +5904,8 @@
|
||||
<ul>
|
||||
<li>组织和存储大型数据,适用于高频查找、低频增删的场景。</li>
|
||||
<li>用于构建数据库中的索引系统。</li>
|
||||
<li>红黑树在许多应用中比 AVL 树更受欢迎。这是因为红黑树的平衡条件相对宽松,在红黑树中插入与删除节点所需的旋转操作相对较少,其节点增删操作的平均效率更高。</li>
|
||||
</ul>
|
||||
<div class="admonition question">
|
||||
<p class="admonition-title">为什么红黑树比 AVL 树更受欢迎?</p>
|
||||
<p>红黑树的平衡条件相对宽松,因此在红黑树中插入与删除节点所需的旋转操作相对较少,在节点增删操作上的平均效率高于 AVL 树。</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user