- 博客(3)
- 收藏
- 关注
原创 Horspool算法
Horspool算法 若文本 S = “FAILUREEISATHEBMOTHERCCFDSUCCESS”,模式P = “SUCCE”,利用Horspool算法给出完整过程。 #include<stdio.h> #include<string.h> void setTable(int T[], char s[], char p[]) { for (int i = 0; i...
2019-05-20 20:53:06
644
原创 输出中序遍历下最后一个结点
#include<stdio.h> #include<stdlib.h> typedef char datatype; //树结构体的定义 typedef struct node { datatype data; struct node *lchild, *rchild; } bintree; bintree *root; typ...
2018-11-15 11:12:03
1842
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
2