فهرست منبع

Update Python语言进阶.md

骆昊 6 سال پیش
والد
کامیت
4bbbed06b6
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      Day16-20/Python语言进阶.md

+ 8 - 0
Day16-20/Python语言进阶.md

@@ -7,6 +7,14 @@
    - 评价算法的好坏:渐近时间复杂度和渐近空间复杂度。
 
    - 渐近时间复杂度的大O标记:
+     - <img src="http://latex.codecogs.com/gif.latex?O(c)" /> - 常量时间复杂度 - 布隆过滤器 / 哈希存储
+     - <img src="http://latex.codecogs.com/gif.latex?O(log_2n)" /> - 对数时间复杂度 - 折半查找(二分查找)
+     - <img src="http://latex.codecogs.com/gif.latex?O(n)" /> - 线性时间复杂度 - 顺序查找 / 桶排序
+     - <img src="http://latex.codecogs.com/gif.latex?O(n*log_2n)" /> - 对数线性时间复杂度 - 高级排序算法(归并排序、快速排序)
+     - <img src="http://latex.codecogs.com/gif.latex?O(n^2)" /> - 平方时间复杂度 - 简单排序算法(选择排序、插入排序、冒泡排序)
+     - <img src="http://latex.codecogs.com/gif.latex?O(n^3)" /> - 立方时间复杂度 - Floyd算法 / 矩阵乘法运算
+     - <img src="http://latex.codecogs.com/gif.latex?O(2^n)" /> - 几何级数时间复杂度 - 汉诺塔
+     - <img src="http://latex.codecogs.com/gif.latex?O(n!)" /> - 阶乘时间复杂度 - 旅行经销商问题 - NP
      - $O(c)$ - 常量时间复杂度 - 布隆过滤器 / 哈希存储
      - $O(log_2n)$ - 对数时间复杂度 - 折半查找(二分查找)
      - $O(n)$ - 线性时间复杂度 - 顺序查找 / 桶排序