当前位置:网站首页>Messy knowledge points
Messy knowledge points
2022-06-24 00:36:00 【FFire_ ant】
Messy knowledge points
Sort
| Sorting method | Time complexity ( Average ) | The complexity of the event ( The worst ) | The complexity of the event ( best ) | Spatial complexity |
|---|---|---|---|---|
| Insertion sort | O(n^2) | O(n^2) | O(n) | O(1) |
| Shell Sort | O(2^1.3) | O(n^2) | O(n) | O(1) |
| Selection sort | O(n^2) | O(n^2) | O(n^2) | O(1) |
| Heap sort | O(nlogN) | O(nlogN) | O(nlogN) | O(1) |
| Bubble sort | O(n^2) | O(n^2) | O(n) | O(1) |
| Quick sort | O(nlogN) | O(n^2) | O(nlogN) | O(nlogN) |
| Merge sort | O(nlogN) | O(nlogN) | O(nlogN) | O(n) |
| Radix sorting | O(n+k) | O(n+k) | O(n+k) | O(n+k) |
| Bucket sort | O(n+k) | O(n^2) | O(n) | O(N+K) |
| Radix sorting | O(n*k) | O(n*k) | O(n*k) | O(n*k) |
| Sort | stability |
|---|---|
| Insertion sort | Stable |
| Shell Sort | unstable |
| Selection sort | unstable |
| Heap sort | unstable |
| Bubble sort | Stable |
| Quick sort | unstable |
| Merge sort | Stable |
| Count sorting | Stable |
| Bucket sort | Stable |
| Radix sorting |
边栏推荐
- Android 7,2021最新Android面试笔试题目分享
- Delegation attack of Intranet penetration and lateral mobility
- 苹果Iphone14搭载北斗导航系统,北斗VS GPS有哪些优势?
- 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
- 【ICPR 2021】遥感图中的密集小目标检测:Tiny Object Detection in Aerial Images
- version `ZLIB_1.2.9‘ not found (required by /lib64/libpng16.so.16)
- Basic usage of oushudb database (medium)
- Android App bundle exploration, client development interview questions
- Windows10 security mode entry cycle blue screen repair
- 智能制造时代下,MES管理系统需要解决哪些问题
猜你喜欢

应用配置管理,基础原理分析

Chaos engineering, learn about it

Accompanist组件库中文指南 - Glide篇,劲爆

What do NLP engineers do? What is the work content?

国内首款开源MySQL HTAP数据库即将发布,三大看点提前告知 石原子科技重磅推出

Revit API: schedule viewschedule

Chinese guide to accompanist component library - glide, hot

C language: on the right shift of matrix
![[digital signal] spectrum refinement based on MATLAB analog window function [including Matlab source code 1906]](/img/b3/ad289400e9c74f6f1f533a7d560d5c.jpg)
[digital signal] spectrum refinement based on MATLAB analog window function [including Matlab source code 1906]

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
随机推荐
setfacl命令的基本用法
What is the difference between concurrency and parallelism?
MIP nerf: anti aliasing multiscale neural radiation field iccv2021
When the IOT network card device is connected to easycvr, how can I view the streaming IP and streaming time?
超标量处理器设计 姚永斌 第3章 虚拟存储器 --3.1~3.2 小节摘录
【CVPR 2020】会议版本:A Physics-based Noise Formation Model for Extreme Low-light Raw Denoising
9次Android面试经验总结,已收字节,阿里,高级android面试答案
[technology planting grass] on the "double 11" of this year, Tencent cloud lightweight servers will be collected in a fair manner
Nlp-d58-nlp competition d27 & question brushing D14 & Paper Reading & MathType
Using anydesk remote control for intranet penetration horizontal movement
【第25天】给定一个长度为 n 的数组,统计每个数出现的次数 | 计数哈希
Chinese guide to accompanist component library - glide, hot
Experience summary of 9 Android interviews, bytes received, Ali, advanced Android interview answer
skywalking 安装部署实践
Android 3年外包工面试笔记,有机会还是要去大厂学习提升,android开发实习面试题
ARM学习(7) symbol 符号表以及调试
现在网上开股票账户安全吗?选择国有券商,最快8分钟开户成功
利用Scanorama高效整合异质单细胞转录组
C language: on the right shift of matrix
How many of the 36 difficult points of activity do you know?, Android interview 2020