实现折半查找的算法(数据结构)

输出顺序表(1,2,3,4,5,6,7,8,9,10)中采用折半查找的方法查找关键字9的过程 #include <stdio.h> #define MAXL 100 //定义表中最多记录个数 typedef int KeyType; typedef char InfoType[10]; typedef struct { KeyType key; //K
相关文章
相关标签/搜索