常见的七种时间复杂度:
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阶乘。
常见的七种时间复杂度:
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阶乘。
暂无评论
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2023-11-13
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-31
2024-05-17
2024-04-19
2024-04-19
2024-03-29
2023-12-12
2023-12-12
2023-12-12
2023-12-12