Add description of the comment format.

This commit is contained in:
Yudong Jin
2023-01-03 15:47:06 +08:00
parent e850152130
commit 89a5c6b435
7 changed files with 116 additions and 8 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ comments: true
**空间复杂度:** $O(n)$ ,其中 $n$ 为数组或链表长度。
## 优缺点
## 优点与缺点
在哈希表中,**查找、插入、删除操作的平均时间复杂度都为 $O(1)$** ,这意味着无论是高频增删还是高频查找场景,哈希查找的性能表现都非常好。当然,一切的前提是保证哈希表未退化。