update 0707.设计链表:添加复杂度分析

This commit is contained in:
Yuhao Ju
2023-03-12 11:34:01 +08:00
committed by GitHub
parent 98e05c38c1
commit 9321c3c677

View File

@ -152,6 +152,9 @@ private:
};
```
* 时间复杂度: 涉及 `index` 的相关操作为 O(index), 其余为 O(1)
* 空间复杂度: O(n)
## 其他语言版本