![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 69
budmud
这个作者很懒,什么都没留下…
展开
-
KMP算法实现
#include using namespace std; void kmp_getnext(char *partten, int *next) { const int m = strlen(partten); int i = 0, j = -1; next[i] = j; while ( i < m + 1 ) { while ( j >= 0 && partten[i] !=原创 2014-03-26 02:15:56 · 629 阅读 · 0 评论 -
二叉树遍历的非递归算法
最近看了二叉树一张的数据结构内容,知道shuzhe原创 2014-04-23 15:18:38 · 804 阅读 · 0 评论