摘要: /*--------------------------------------------- Title: 二叉排序树中查找 Author: eman lee ----------------------------------------------*/ #include #include //定义二叉树的节点结构 struct node { int data;//... 阅读全文
posted @ 2007-10-14 20:20 emanlee 阅读(563) 评论(0) 推荐(0) 编辑
摘要: //分块查找,索引顺序查找 #include //定义顺序存储线性表的结点结构 struct student { long Xuehao;//关键字 int Jihao; //非关键字 }; struct indexNode { int address; int maxKey; }; int SearchPosition(struct indexNod... 阅读全文
posted @ 2007-10-14 20:15 emanlee 阅读(634) 评论(0) 推荐(0) 编辑