Algorithms
文章平均质量分 77
RockyStar
278天,超过所有人。
展开
-
insert sort
// select sort.cpp : Defines the entry point for the console application./* * 1 随机生成数列 srand(unsigned (time(0))), rand()* 2 insert sort* 3 insert_sort(int s[],)参数int s[] 等价于 int * const s;*/原创 2012-09-16 08:46:21 · 786 阅读 · 0 评论 -
insertion sort
// insertion sort.cpp : Defines the entry point for the console application./************************************************************************************ 1 yield random number: srand(unsig原创 2012-09-20 11:15:22 · 569 阅读 · 0 评论 -
merge sort and binary search recursive version
// Merge_Sort.cpp : Defines the entry point for the console application./****************************************************************** * 2. have to adopt the same array index to C++ program原创 2012-09-21 00:03:10 · 602 阅读 · 0 评论