当前位置:网站首页>杂乱的知识点
杂乱的知识点
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) |
| 排序 | 稳定性 |
|---|---|
| 插入排序 | 稳定 |
| 希尔排序 | 不稳定 |
| 选择排序 | 不稳定 |
| 堆排序 | 不稳定 |
| 冒泡排序 | 稳定 |
| 快速排序 | 不稳定 |
| 归并排序 | 稳定 |
| 计数排序 | 稳定 |
| 桶排序 | 稳定 |
| 基数排序 |
边栏推荐
- How to use data warehouse to create time series
- Shutter time selector
- C语言:关于矩阵右移问题
- C language: structure array implementation to find the lowest student record
- 使用worker报错:Uncaught DOMException: Failed to construct ‘Worker’: Script at***
- Interview notes for Android outsourcing workers for 3 years. You still need to go to a large factory to learn and improve when you have the opportunity. Interview questions for Android Development Int
- 量化投资模型——高频交易做市模型相关(Avellaneda & Stoikov’s)研究解读&代码资源
- Shuttle global levitation button
- C language: sorting with custom functions
- All 32 keyword classifications of C language C89 (C90)
猜你喜欢

合成大西瓜小游戏微信小程序源码/微信游戏小程序源码

量化投资模型——高频交易做市模型相关(Avellaneda & Stoikov’s)研究解读&代码资源

What is medical treatment? AI medical concept analysis AI

What should I pay attention to in the interview of artificial intelligence technology?

Android 3年外包工面试笔记,有机会还是要去大厂学习提升,android开发实习面试题

2022考研经验分享【初试、择校、复试、调剂、校招与社招】
![[image detection saliency map] calculation of fish eye saliency map based on MATLAB distortion prompt [including Matlab source code 1903]](/img/36/134c573c2198ca6c88a7c179189f1a.jpg)
[image detection saliency map] calculation of fish eye saliency map based on MATLAB distortion prompt [including Matlab source code 1903]

Android AIDL:跨进程调用Service (AIDL Service),kotlininvoke函数

NLP工程师是干什么的?工作内容是什么?

Usage of go in SQL Server
随机推荐
Efficient integration of heterogeneous single cell transcriptome with scanorama
Hackers can gain administrator privileges by invading Microsoft mail server and windows Zero Day vulnerability November 23 global network security hotspot
Android Aidl: cross process call service (Aidl service), kotlininvoke function
[traffic light identification] traffic light identification based on Matlab GUI [including Matlab source code 1908]
. Net
All 32 keyword classifications of C language C89 (C90)
解决项目依赖报红问题
通达信股票开户是安全的吗?
C语言:结构体数组实现找出最低分学生记录
Dependency Inversion Principle
毕业设计-论文写作笔记【毕设题目类型、论文写作细节、毕设资料】
使用worker报错:Uncaught DOMException: Failed to construct ‘Worker’: Script at***
What is the difference between concurrency and parallelism?
Jeecgboot old version 2 x 3. X how to integrate building block reports?
setfacl命令的基本用法
Test - use case - detail frenzy
Android 72021 latest Android interview written test questions sharing
Empty encoded password warning reason
[new cos series] | object storage cos data Vientiane CI processing special data processing resource package 4.5 folded into a big gift package!
Android 7,2021最新Android面试笔试题目分享