数据结构第四章课后题

4.1采用顺序结构存储串,编写一个实现串通配符匹配的算法pattern_index(),其中的通配符只有“?”,它能够和任一字符匹配成功,例如,pattern_index("?re","there are"),返回的结果是2。ios 代码:算法 #include <iostream> #include <malloc.h> #include <cstring> #include <cstdio>
相关文章
相关标签/搜索