mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-21 07:47:14 +00:00
deploy
This commit is contained in:
@@ -1719,7 +1719,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
8.3 Top-K 问题
|
||||
8.3 Top-k 问题
|
||||
</span>
|
||||
|
||||
|
||||
@@ -3651,7 +3651,7 @@
|
||||
<li>适用于海量数据,因为树节点在内存中是分散存储的。</li>
|
||||
<li>适合需要维护有序数据或范围查找的场景。</li>
|
||||
<li>在持续增删节点的过程中,二叉搜索树可能产生倾斜,时间复杂度劣化至 <span class="arithmatex">\(O(n)\)</span> 。</li>
|
||||
<li>若使用 AVL 树或红黑树,则各项操作可在 <span class="arithmatex">\(O(\log n)\)</span> 效率下稳定运行,但维护树平衡的操作会增加额外开销。</li>
|
||||
<li>若使用 AVL 树或红黑树,则各项操作可在 <span class="arithmatex">\(O(\log n)\)</span> 效率下稳定运行,但维护树平衡的操作会增加额外的开销。</li>
|
||||
</ul>
|
||||
|
||||
<!-- Source file information -->
|
||||
|
||||
Reference in New Issue
Block a user