当前位置:网站首页>Internal sort - insert sort
Internal sort - insert sort
2022-07-07 14:26:00 【InfoQ】
1. Insertion sort
- Direct insert sort
- Half insertion method
- 2- Path insertion sort ( Not very often )
- Shell Sort ( a key )
summary
- Direct insertion sort is a good sort method when the number is very small , But it doesn't apply to too many .
- Half insert sort is an improvement of direct sort , It is to find the position of records to be sorted in the ordered sub table , Use half search , Reduce comparison time .
- 2- Path insertion sort is a development based on half insertion sort . Its purpose is to reduce the number of record moves in the sorting process , But for this, we need n A secondary space for records .
- Hill sort is to interval the sequence of numbers with odd numbers , Sorted by the number of intervals .( It must be odd ) This method is better , But not stable . Pay attention to this method .
边栏推荐
- C # use TCP protocol to establish connection
- [Reading stereo matching papers] [III] ints
- 请问,如图,pyhon云函数提示使用了 pymysql模块,这个是怎么回事?
- CVPR2022 | 医学图像分析中基于频率注入的后门攻击
- The longest ascending subsequence model acwing 1012 Sister cities
- PERT图(工程网络图)
- Pert diagram (engineering network diagram)
- libSGM的horizontal_path_aggregation程序解读
- Oracle Linux 9.0 正式发布
- oracle 触发器实现级联更新
猜你喜欢
AI talent cultivation new ideas, this live broadcast has what you care about
CVPR2022 | 医学图像分析中基于频率注入的后门攻击
Use day JS let time (displayed as minutes, hours, days, months, and so on)
Mrs offline data analysis: process OBS data through Flink job
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
gvim【三】【_vimrc配置】
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
libSGM的horizontal_path_aggregation程序解读
Démontage de la fonction du système multi - Merchant Mall 01 - architecture du produit
STM32CubeMX,68套组件,遵循10条开源协议
随机推荐
Docker deploy Oracle
Multi merchant mall system function disassembly lecture 01 - Product Architecture
数据流图,数据字典
Arm cortex-a9, mcimx6u7cvm08ad processor application
Interface automation test - solution of data dependency between interfaces
Environment configuration
【AI实战】应用xgboost.XGBRegressor搭建空气质量预测模型(二)
【立体匹配论文阅读】【三】INTS
c#利用 TCP 协议建立连接
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
Take you to master the three-tier architecture (recommended Collection)
Oracle Linux 9.0 正式发布
IP and long integer interchange
[network security] SQL injection syntax summary
Cesium 已知一点经纬度和距离求另一个点的经纬度
請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
Differences between cookies and sessions
杭电oj2054 A == B ? ???
Cascading update with Oracle trigger
oracle 非自动提交解决