mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-30 20:07:14 +00:00
Add description of the comment format.
This commit is contained in:
@@ -185,7 +185,7 @@ comments: true
|
||||
|
||||
**空间复杂度:** $O(n)$ ,其中 $n$ 为数组或链表长度。
|
||||
|
||||
## 优缺点
|
||||
## 优点与缺点
|
||||
|
||||
在哈希表中,**查找、插入、删除操作的平均时间复杂度都为 $O(1)$** ,这意味着无论是高频增删还是高频查找场景,哈希查找的性能表现都非常好。当然,一切的前提是保证哈希表未退化。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user