当前位置:网站首页>What is time complexity
What is time complexity
2022-07-28 22:18:00 【Bubble ^ bubble】
What is algorithm
The algorithm can be understood as a series of controlled steps , You can achieve some goals or produce some output by performing these steps in sequence .
Time complexity
Time complexity is a function , It qualitatively describes the running time of the algorithm . This is a function of the length of the string representing the input value of the algorithm . Time complexity is often large O Expression expression , The lower order and first term coefficients of this function are not included .
Big O notation
Big O Representation is to convert all steps of the algorithm into algebraic terms , Then exclude the lower order constants and coefficients that will not have a great impact on the overall complexity of the problem .
Time complexity :O(n)
Time complexity :O(n)
Time complexity :O(n2)
Common time complexity

The time complexity of common algorithms is in the order of :
边栏推荐
- HCIP(15)
- MOV格式是不是静态图像文件格式
- What is a prime factor? In number theory, a prime factor (prime factor or prime factor) refers to a prime number that can divide a given positive integer
- System Analyst
- Hcip experiment (12)
- Add DNS server to LAN for domain name resolution
- Esp8266 Arduino programming example - SPIFs and data upload (Arduino IDE and platformio IDE)
- 39. 组合总和
- HYDAC overflow valve db08a-01-c-n-500v
- ssh 免密码登录
猜你喜欢
随机推荐
Ukrainian officials: half of Ukrainian agricultural products are exported through the Danube port
Hcip experiment (12)
TensorFlow Serving 高性能的机器学习模型服务系统
Part 8: creating camera classes
普源示波器实际的使用效果怎么样
小程序 组件 定时器的清除
array_diff_assoc 元素是数组时不比较数组值的办法
typeof原理
示波器发展史中的变化
SQL注入 Less34(POST型宽字节注入+布尔盲注)
2021 mathematical modeling group B exercise
Gateway technology of IOT technology stack
HCIP(15)
Oracle, SQL Foundation
【云原生之kubernetes】在kubernetes集群下的映射外部服务—Eendpoint
Typeof principle
HCIP(8)
HCIP(10)
Esp8266 Arduino programming example - SPIFs and data upload (Arduino IDE and platformio IDE)
40. Combined sum II









