1
0
Fork 0
Obsidian 管理的个人笔记仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
240 B

- 要有对时间复杂度的敏感性,如 length 不能遍历查找
- 数据结构的选择,要比算法优化更重要
- 凡有序,必二分
- 凡二分,时间复杂度必包含 O(logn)
- 优化嵌套循环,可以考虑双指针