当前位置:网站首页>杂乱的知识点
杂乱的知识点
2022-06-24 00:32:00 【FFire_ant】
杂乱的知识点
排序
| 排序方法 | 时间复杂度(平均) | 事件复杂度(最坏) | 事件复杂度(最好) | 空间复杂度 |
|---|---|---|---|---|
| 插入排序 | O(n^2) | O(n^2) | O(n) | O(1) |
| 希尔排序 | O(2^1.3) | O(n^2) | O(n) | O(1) |
| 选择排序 | O(n^2) | O(n^2) | O(n^2) | O(1) |
| 堆排序 | O(nlogN) | O(nlogN) | O(nlogN) | O(1) |
| 冒泡排序 | O(n^2) | O(n^2) | O(n) | O(1) |
| 快速排序 | O(nlogN) | O(n^2) | O(nlogN) | O(nlogN) |
| 归并排序 | O(nlogN) | O(nlogN) | O(nlogN) | O(n) |
| 基数排序 | O(n+k) | O(n+k) | O(n+k) | O(n+k) |
| 桶排序 | O(n+k) | O(n^2) | O(n) | O(N+K) |
| 基数排序 | O(n*k) | O(n*k) | O(n*k) | O(n*k) |
| 排序 | 稳定性 |
|---|---|
| 插入排序 | 稳定 |
| 希尔排序 | 不稳定 |
| 选择排序 | 不稳定 |
| 堆排序 | 不稳定 |
| 冒泡排序 | 稳定 |
| 快速排序 | 不稳定 |
| 归并排序 | 稳定 |
| 计数排序 | 稳定 |
| 桶排序 | 稳定 |
| 基数排序 |
边栏推荐
- Drag and drop report design - new features of jimureport 1.4.0
- The first open-source MySQL HTAP database in China will be released soon, and the three highlights will be informed in advance that shiatomics technology will launch heavily
- How to use data warehouse to create time series
- Android - JNI 开发你所需要知道的基础,Android工程师面试题
- Empty encoded password警告原因
- Common core resource objects of kubernetes
- Android - basics you need to know about JNI development, interview questions for Android engineers
- [FreeRTOS] 07 binary semaphore and count semaphore
- Use of reverse tools IDA and GDB
- Shutter time selector
猜你喜欢

windows10安全模式进入循环蓝屏修复

UART protocol timing summary

EasyCVR程序以服务启动异常,进程启动却正常,是什么原因?

Social order in the meta universe

抖音实战~手机号密码一键注册登录流程(限制手机终端登录)

Use of reverse tools IDA and GDB

人工智能技术岗位面试要注意什么?

Quantitative investment model -- research interpretation of high frequency trading market making model (Avellaneda & Stoikov's) & code resources

元宇宙中的社会秩序
![[interview experience package] summary of experience of being hanged during interview (I)](/img/ab/ccee8e624248840e712c0b4ca417dd.png)
[interview experience package] summary of experience of being hanged during interview (I)
随机推荐
Common WebGIS Map Libraries
DO280OpenShift访问控制--管理项目和账户
【osg】OSG开发(04)—创建多个场景视图
使用worker报错:Uncaught DOMException: Failed to construct ‘Worker’: Script at***
How many of the 36 difficult points of activity do you know?, Android interview 2020
物联网卡设备接入EasyCVR,如何查看拉流IP以及拉流时间?
The first open-source MySQL HTAP database in China will be released soon, and the three highlights will be informed in advance that shiatomics technology will launch heavily
Shutter control layout
EasyCVR程序以服务启动异常,进程启动却正常,是什么原因?
【虹科案例】3D数据如何成为可操作的信息?– 对象检测和跟踪
Jeecgboot old version 2 x 3. X how to integrate building block reports?
[interview experience package] summary of experience of being hanged during interview (I)
[traffic light identification] traffic light identification based on Matlab GUI [including Matlab source code 1908]
Superscalar processor design yaoyongbin Chapter 3 virtual memory -- Excerpt from subsection 3.1~3.2
C language: structure array implementation to find the lowest student record
Empty encoded password warning reason
What is the difference between overload and override?
C语言:关于矩阵右移问题
C language: sorting with custom functions
When the IOT network card device is connected to easycvr, how can I view the streaming IP and streaming time?