文件名称:sort
介绍说明--下载内容均来自于网络,请自行研究使用
各种排序算法,下标都从1开始。sort_test.c是用来测试的。
void heap_sort(int *array,int size)
void create_min_heap(int *array,int size)
void adjust_min_heap(int *array,int start,int size)
void bubble_sort(int *array,int size)
void select_sort(int *array,int size)
void quick_sort(int *array,int size)
void unrec_quick_sort(int *array, int size)
void insert_sort(int *array,int low,int high)
int bucket_sort(int *array,int size,int max_value)
int max_k_heap(int *array,int size,int k,int *k_array)
int max_k_select(int *array,int size,int k,int *k_array)
void find_max_min(int *array,int size,int *max,int *min)
int find_max_k(int *array,int low,int high,int k) -Some sort functions."sort_test.c" is used to test.
void heap_sort(int*array,int size)
void create_min_heap(int*array,int size)
void adjust_min_heap(int*array,int start,int size)
void bubble_sort(int*array,int size)
void select_sort(int*array,int size)
void quick_sort(int*array,int size)
void unrec_quick_sort(int*array, int size)
void insert_sort(int*array,int low,int high)
int bucket_sort(int*array,int size,int max_value)
int max_k_heap(int*array,int size,int k,int*k_array)
int max_k_select(int*array,int size,int k,int*k_array)
void find_max_min(int*array,int size,int*max,int*min)
int find_max_k(int*array,int low,int high,int k)
void heap_sort(int *array,int size)
void create_min_heap(int *array,int size)
void adjust_min_heap(int *array,int start,int size)
void bubble_sort(int *array,int size)
void select_sort(int *array,int size)
void quick_sort(int *array,int size)
void unrec_quick_sort(int *array, int size)
void insert_sort(int *array,int low,int high)
int bucket_sort(int *array,int size,int max_value)
int max_k_heap(int *array,int size,int k,int *k_array)
int max_k_select(int *array,int size,int k,int *k_array)
void find_max_min(int *array,int size,int *max,int *min)
int find_max_k(int *array,int low,int high,int k) -Some sort functions."sort_test.c" is used to test.
void heap_sort(int*array,int size)
void create_min_heap(int*array,int size)
void adjust_min_heap(int*array,int start,int size)
void bubble_sort(int*array,int size)
void select_sort(int*array,int size)
void quick_sort(int*array,int size)
void unrec_quick_sort(int*array, int size)
void insert_sort(int*array,int low,int high)
int bucket_sort(int*array,int size,int max_value)
int max_k_heap(int*array,int size,int k,int*k_array)
int max_k_select(int*array,int size,int k,int*k_array)
void find_max_min(int*array,int size,int*max,int*min)
int find_max_k(int*array,int low,int high,int k)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sort.c
sort.h
sort_test.c