摘要: 一、顺序查找 O(n) 一般线性表的顺序查找 有哨兵 typedef struct{ ElemType *elem; //存储空间基址,建表时按实际长度分配,0号单元留空 int TableLen; }SSTable; int Search_Seq(SSTable ST,ElemType key) 阅读全文
posted @ 2023-10-02 21:49 安河桥北i 阅读(29) 评论(0) 推荐(0)