onnple / sortingalgorithms

内部排序和外部排序算法,原文地址:http://www.srcmini.com/1608.html

Home Page:http://www.srcmini.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

排序算法(Sorting Algorithms)

内部排序和外部排序算法,原文地址:

排序算法说明

1、选择排序

extern void selection_sort(int array[], int n);

2、冒泡排序

extern void bubble_sort(int array[], int n);

3、插入排序

extern void insertion_sort(int array[], int n);

4、希尔排序

extern void shell_sort(int array[], int n);

5、堆排序

extern void heap_sort(int array[], int n);

6、归并排序

extern void merge_sort(int array[], int n);

7、快速排序

extern void quick_sort(int array[], int n);

8、桶排序

extern void bucket_sort(int array[], int n);

9、外部排序

extern void external_sort(char *input, char *output, int runs, int run_size);

About

内部排序和外部排序算法,原文地址:http://www.srcmini.com/1608.html

http://www.srcmini.com/


Languages

Language:C 100.0%