KMP algorithm

GPTKB entity

Statements (24)
Predicate Object
gptkbp:instanceOf string searching algorithm
gptkbp:alsoKnownAs gptkb:Knuth-Morris-Pratt_algorithm
gptkbp:category pattern matching algorithm
gptkbp:complexity O(n + m)
gptkbp:field computer science
https://www.w3.org/2000/01/rdf-schema#label KMP algorithm
gptkbp:input gptkb:text
pattern
gptkbp:introducedIn 1977
gptkbp:namedAfter gptkb:Donald_Knuth
gptkb:James_H._Morris
gptkb:Vaughan_Pratt
gptkbp:output starting indices of pattern matches in text
gptkbp:prevention re-examination of previously matched characters
gptkbp:publishedIn gptkb:SIAM_Journal_on_Computing
gptkbp:purpose find occurrences of a word within a main text string
gptkbp:relatedTo gptkb:Boyer-Moore_algorithm
gptkb:Rabin-Karp_algorithm
gptkbp:usedIn search engines
bioinformatics
text editors
gptkbp:uses prefix function
gptkbp:bfsParent gptkb:Knuth–Morris–Pratt_algorithm
gptkbp:bfsLayer 6