PTA|01-复杂度3 二分查找 (20 分)二分查找
本题要求实现二分查找算法。函数接口定义:Position BinarySearch( List L, ElementType X );其中List结构定义如下:typedef int Position;typedef struct LNode *List;struct LNode { ElementType Data[MAXSIZE]; Position Last; ...
原创
2018-10-08 18:08:55 ·
1151 阅读 ·
0 评论