采用顺序结构存储串,编写函数,用于判定s2是否是s1的子串
int search(strtype *s1,strtype *s2,int i)
{
}
int index(strtype *s1,strtype *s2)
{
}
我发现写出一个递归,也不是想象中那么难的!
采用顺序结构存储串,编写函数,用于判定s2是否是s1的子串
int search(strtype *s1,strtype *s2,int i)
{
}
int index(strtype *s1,strtype *s2)
{
}
我发现写出一个递归,也不是想象中那么难的!