KMP算法及改進KMP算法實現

/* *描述:KMP算法以及改進後的KMP算法實現 */ #include <stdio.h> #include <string.h> #define MaxSize 100 typedef struct { char data[MaxSize]; //定義可容納MaxSize個字符的空間 int length; //標記當前實際串長 }
相關文章
相關標籤/搜索