Update the chapter of

introduction and complexity anylysis.
This commit is contained in:
krahets
2023-08-28 04:34:25 +08:00
parent 50e17905fd
commit 8347c2da36
9 changed files with 28 additions and 41 deletions

View File

@ -663,10 +663,6 @@ $$
![常见的空间复杂度类型](space_complexity.assets/space_complexity_common_types.png)
!!! tip
部分示例代码需要一些前置知识,包括数组、链表、二叉树、递归算法等。如果你遇到看不懂的地方,可以在学完后面章节后再来复习。
### 常数阶 $O(1)$
常数阶常见于数量与输入数据大小 $n$ 无关的常量、变量、对象。