09 2021 档案
1.直接插入排序
摘要:#include<stdio.h> void Insert(int A[],int n){ int i,j,temp; for(i=1;i<n;i++) { temp=A[i]; for(j=i-1;j>=0&&A[j]>temp;j--){ A[j+1]=A[j]; } A[j+1]=temp; 阅读全文
posted @ 2021-09-16 21:10 upupup-999 阅读(30) 评论(0) 推荐(0) 编辑
55.基数排序
摘要: 阅读全文
posted @ 2021-09-15 21:14 upupup-999 阅读(35) 评论(0) 推荐(0) 编辑
54.归并排序
摘要: 阅读全文
posted @ 2021-09-14 21:28 upupup-999 阅读(21) 评论(0) 推荐(0) 编辑
53.堆的插入删除
摘要: 阅读全文
posted @ 2021-09-14 20:55 upupup-999 阅读(34) 评论(0) 推荐(0) 编辑
52.堆排序
摘要: 阅读全文
posted @ 2021-09-11 22:00 upupup-999 阅读(27) 评论(0) 推荐(0) 编辑
51.选择排序
摘要: 阅读全文
posted @ 2021-09-11 20:06 upupup-999 阅读(10) 评论(0) 推荐(0) 编辑
50.快速排序
摘要:#include<stdio.h> int Partition(int A[],int low,int high) { int pivot=A[low]; while(low<high) { while(low<high&&A[high]>=pivot) --high; A[low]=A[high] 阅读全文
posted @ 2021-09-10 21:12 upupup-999 阅读(34) 评论(0) 推荐(0) 编辑
49.冒泡排序
摘要: 阅读全文
posted @ 2021-09-09 22:08 upupup-999 阅读(31) 评论(0) 推荐(0) 编辑
48.希尔排序
摘要: 阅读全文
posted @ 2021-09-09 21:23 upupup-999 阅读(20) 评论(0) 推荐(0) 编辑
47.插入排序
摘要:#include<stdio.h> void InsertSort(int A[],int n){ int i,j,temp; for(i=1;i<n;i++) { if(A[i]<A[i-1]) { temp=A[i]; for(j=i-1;j>=0&&A[j]>temp;j--) { A[j+1 阅读全文
posted @ 2021-09-09 19:41 upupup-999 阅读(31) 评论(0) 推荐(0) 编辑
46.排序
摘要:1.插入排序 阅读全文
posted @ 2021-09-08 21:53 upupup-999 阅读(6) 评论(0) 推荐(0) 编辑
45.散列查找
摘要: 阅读全文
posted @ 2021-09-07 19:25 upupup-999 阅读(46) 评论(0) 推荐(0) 编辑
44.B+树
摘要: 阅读全文
posted @ 2021-09-06 20:02 upupup-999 阅读(27) 评论(0) 推荐(0) 编辑
43.B树
摘要: 阅读全文
posted @ 2021-09-05 21:44 upupup-999 阅读(26) 评论(0) 推荐(0) 编辑
42.查找
摘要:查找成功 查找失败 分块查找 阅读全文
posted @ 2021-09-02 21:47 upupup-999 阅读(37) 评论(0) 推荐(0) 编辑




点击右上角即可分享
微信分享提示