Algorithms and Data Structures in Python
Big-O | Name |
---|---|
1 | Constant |
log(n) | Logarithmic |
n | Linear |
nlog(n) | Log Linear |
n^2 | Quadratic |
n^3 | Cubic |
2^n | Exponential |
https://wiki.python.org/moin/TimeComplexity
$ pytest
Algorithms and Data Structures in Python
Big-O | Name |
---|---|
1 | Constant |
log(n) | Logarithmic |
n | Linear |
nlog(n) | Log Linear |
n^2 | Quadratic |
n^3 | Cubic |
2^n | Exponential |
https://wiki.python.org/moin/TimeComplexity
$ pytest