Journal of East China Normal University(Natural Sc ›› 2009, Vol. 2009 ›› Issue (4): 92-97.

• Article • Previous Articles     Next Articles

Improved KMP algorithm

YU Song,ZHENG Jun,HU Wenxin

  

  1. Computer Center, East China Normal University ,Shanghai200062, China
  • Received:2008-10-05 Revised:2009-01-23 Online:2009-07-25 Published:2009-07-25
  • Contact: ZHENG Jun

Abstract: This paper established an improved KMPalgorithm for pattern matching in string. Tests proved that the algorithm has less comparison times and higher efficiency under the circumstances that the pattern first appears in the bottom half of a text string.

Key words: pattern, string, time complexity, text , match, pattern, string, time complexity, text

CLC Number: