当前位置:网站首页>Common time complexity
Common time complexity
2022-07-05 18:32:00 【mxrone】
Common time complexity | ||
4563636 | o(1) | Constant order |
2n+1 | o(n) | Linear order |
3n^2+8n+9 | o(n^2) | Square order |
3log(2)n+4 | o(logn) | Logarithmic order |
2n+3nlog(2)n+12 | o(nlogn) | nlogn rank |
n^3+2n^2+5n+8 | o(n^3) | Cubic order |
2^n | o(2^n) | Exponential order |
The common time complexity is sorted from small to large :
o(1)< o(logn)< o(n)<o(nlogn)<o(n^2)<o(n^3)< o(2^n)< o(n!)< o(n^n)
边栏推荐
- FCN: Fully Convolutional Networks for Semantic Segmentation
- 图像分类,看我就够啦!
- Introduction to the development function of Hanlin Youshang system of Hansheng Youpin app
- Insufficient picture data? I made a free image enhancement software
- LeetCode 6111. 螺旋矩阵 IV
- Problems encountered in the project u-parse component rendering problems
- About Estimation with Cross-Validation
- Introduction to VC programming on "suggestions collection"
- Multithreading (I) processes and threads
- A2L file parsing based on CAN bus (3)
猜你喜欢
Take a look at semaphore, the current limiting tool provided by JUC
How to obtain the coordinates of the aircraft passing through both ends of the radar
Nacos distributed transactions Seata * * install JDK on Linux, mysql5.7 start Nacos configure ideal call interface coordination (nanny level detail tutorial)
LeetCode 6109. 知道秘密的人数
记录Pytorch中的eval()和no_grad()
About statistical power
Reptile 01 basic principles of reptile
如何写出好代码 - 防御式编程
Find the first k small element select_ k
Le cours d'apprentissage de la machine 2022 de l'équipe Wunda arrive.
随机推荐
sample_rate(采樣率),sample(采樣),duration(時長)是什麼關系
Electron installation problems
What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
【PaddlePaddle】 PaddleDetection 人脸识别 自定义数据集
Memory leak of viewpager + recyclerview
常见时间复杂度
【在優麒麟上使用Electron開發桌面應】
吳恩達團隊2022機器學習課程,來啦
爱因斯坦求和einsum
Use JMeter to record scripts and debug
websocket 工具的使用
爬虫01-爬虫基本原理讲解
生词生词生词生词[2]
图像分类,看我就够啦!
LeetCode 6109. 知道秘密的人数
让更多港澳青年了解南沙特色文创产品!“南沙麒麟”正式亮相
金太阳开户安全吗?万一免5开户能办理吗?
怎么自动安装pythn三方库
瀚升优品app翰林优商系统开发功能介绍
JDBC reads a large amount of data, resulting in memory overflow