算法空间/时间复杂度:修订间差异
来自康健生活
| (未显示同一用户的2个中间版本) | |||
| 第9行: | 第9行: | ||
* 指数阶 <math>O(2^n)</math> | * 指数阶 <math>O(2^n)</math> | ||
* 乘阶 <math>O(n!)</math> | * 乘阶 <math>O(n!)</math> | ||
<pre>Plot[{1, Log[x], x, x*Log[x], x^2, x^3, 2^x, x!}, {x, -30, 30}, PlotLegends -> "Expressions"]</pre> | |||
[[文件:时间复杂度-1.png|400px|无|时间复杂度-1]] | |||