常见的七种时间复杂度:

常见的七种时间复杂度:

        O(1):Constant Compxity 常数复杂度。

        O(log n):Logarithmic Complexity 对数复杂度。

        O(n):Linear Complexity 线性时间复杂度。

        O(n^2):N square Complexity 平方。

        O(n^3):N cubic Complexity 立方。

        O(2^n):Exponential Grwth 指数。

        O(n!):Factorial阶乘。

 

 

posted @ 2021-02-21 15:25  Coder个人博客  阅读(82)  评论(0)    收藏  举报  来源