Abstract
Knuth-Morris-Pratt (KMP) algorithm is an essential manifestation of matching algorithms. This paper presents and discusses the KMP algorithm and some of its optimization. Calculating and searching in a letter numbered table and a new data structure called last-identical array propose a new string searching algorithm L-I-KMP based on the KMP algorithm. This new method is faster than KMP in practice of specific situations.
Cite
CITATION STYLE
Lu, X. (2019). The Analysis of KMP Algorithm and its Optimization. In Journal of Physics: Conference Series (Vol. 1345). Institute of Physics Publishing. https://doi.org/10.1088/1742-6596/1345/4/042005
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.