mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-24 10:14:44 +08:00
deploy
This commit is contained in:
@ -1781,7 +1781,7 @@
|
||||
<li><strong>链表</strong>:每个节点的值为 <code>[学号, 姓名]</code> ;</li>
|
||||
<li><strong>二叉搜索树</strong>:每个节点的值为 <code>[学号, 姓名]</code> ,根据学号大小来构建树;</li>
|
||||
</ol>
|
||||
<p>各项操作的时间复杂度如下表所示(详解可见<a href="https://www.hello-algo.com/chapter_tree/binary_search_tree/">二叉搜索树章节</a>)。无论是查找元素还是增删元素,哈希表的时间复杂度都是 <span class="arithmatex">\(O(1)\)</span>,全面胜出!</p>
|
||||
<p>各项操作的时间复杂度如下表所示(详解可见<a href="https://www.hello-algo.com/chapter_tree/binary_search_tree/">二叉搜索树章节</a>)。无论是查找元素还是增删元素,哈希表的时间复杂度都是 <span class="arithmatex">\(O(1)\)</span> ,全面胜出!</p>
|
||||
<div class="center-table">
|
||||
<table>
|
||||
<thead>
|
||||
|
Reference in New Issue
Block a user