当前位置:网站首页>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 .
边栏推荐
- MRS离线数据分析:通过Flink作业处理OBS数据
- 内部排序——插入排序
- How does MySQL control the number of replace?
- 昇腾体验官第五期随手记I
- Selenium库
- AI talent cultivation new ideas, this live broadcast has what you care about
- How to check the ram and ROM usage of MCU through Keil
- Search engine interface
- 杭电oj2054 A == B ? ???
- Leetcode——236. The nearest common ancestor of binary tree
猜你喜欢
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
VSCode 配置使用 PyLint 语法检查器
Assign a dynamic value to the background color of DataGrid through ivalueconverter
SAKT方法部分介绍
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
Substance Painter筆記:多顯示器且多分辨率顯示器時的設置
用例图
Use day JS let time (displayed as minutes, hours, days, months, and so on)
内部排序——插入排序
libSGM的horizontal_path_aggregation程序解读
随机推荐
FC连接数据库,一定要使用自定义域名才能在外面访问吗?
The longest ascending subsequence model acwing 1012 Sister cities
Analysis of arouter
Million data document access of course design
UML state diagram
VSCode 配置使用 PyLint 语法检查器
Substance Painter筆記:多顯示器且多分辨率顯示器時的設置
Excuse me, I have three partitions in Kafka, and the flinksql task has written the join operation. How can I give the join operation alone
低代码平台中的数据连接方式(下)
Parsing of XML files
請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
MySQL "invalid use of null value" solution
设备故障预测机床故障提前预警机械设备振动监测机床故障预警CNC震动无线监控设备异常提前预警
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (II)
Cascading update with Oracle trigger
UML sequence diagram (sequence diagram)
Source code analysis of ArrayList
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
Hands on Teaching: XML modeling
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join