![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
比尔吉伯特
还是个大学生正在学习算法,希望能在以后的比赛中能拿到金奖。
展开
-
哈希表
#include #include #include typedef struct HashTable { char **elem; int size;} HashTable;void init(HashTable *h);int hash(HashTable *h, char value[]);int search(HashTable *h, char valu原创 2018-01-30 20:18:23 · 174 阅读 · 0 评论 -
基数排序
#include #include void radix_sort(int *num, int n) { #define maxn_n 65535 int *cnt = (int *)calloc((maxn_n + 1), sizeof(int)); int *temp = (int *)malloc(sizeof(int) * n); for原创 2018-01-30 20:41:48 · 125 阅读 · 0 评论 -
1和0的个数
/************************************************************************* > File Name: test98.cpp > Author: > Mail: > Created Time: 2018年01月30日 星期二 14时36分01秒 *****************原创 2018-01-30 20:45:14 · 302 阅读 · 0 评论 -
排序
/************************************************************************* > File Name: 排序.cpp > Author: > Mail: > Created Time: 2018年01月23日 星期二 19时06分58秒 *********************原创 2018-01-26 18:15:56 · 160 阅读 · 0 评论