摘要:
本题要求实现一趟希尔排序函数,待排序列的长度1<=n<=1000。 函数接口定义: void ShellInsert(SqList L,int dk); 其中L是待排序表,使排序后的数据从小到大排列。###类型定义: typedef int KeyType; typedef struct { Key 阅读全文
posted @ 2021-12-04 23:15
慢漫曼蔓
阅读(78)
评论(0)
推荐(0)
摘要:
本题要求实现直接插入排序函数,待排序列的长度1<=n<=1000。 函数接口定义: void InsertSort(SqList L); 其中L是待排序表,使排序后的数据从小到大排列。###类型定义: typedef int KeyType; typedef struct { KeyType *el 阅读全文
posted @ 2021-12-04 23:13
慢漫曼蔓
阅读(38)
评论(0)
推荐(0)

浙公网安备 33010602011771号