摘要: Hash函数的实现(线性探测法,除留余数法) 源程序: #include <iostream>#include <stdlib.h>#include <stdio.h>#define HASHSIZE 12#define NULLKEY -1struct HashTable{ int *elem; 阅读全文
posted @ 2020-07-17 21:11 bobo哥 阅读(121) 评论(0) 推荐(0)
摘要: 二叉排序树 源程序: #include "stdio.h"#include "stdlib.h" typedef struct tnode{ int id; int score; struct tnode *lchild,*rchild;}stu;void Ins_Student(stu **p,l 阅读全文
posted @ 2020-07-17 12:52 bobo哥 阅读(137) 评论(0) 推荐(0)