Knuth–Morris–Pratt algorithm

string searching algorithm
Exact String Matching Algorithm Q45285

Facts

6 properties

Identity

Instance of
exact string-matching algorithm
More facts +5
Publication date
1977, 1970[8][9]
Described by source
Fast Pattern Matching in Strings, A linear pattern-matching algorithm[10][11]
Time of discovery or invention
1970[7]
🏷️ Also known as
en KMP algorithm en Knuth–Morris–Pratt string searching algorithm en Knuth–Morris–Pratt algorithm en Knuth-Morris-Pratt algorithm ar خوارزمية كنوت-موريس-برات cs Knuthův–Morrisův–Prattův algoritmus de Knuth-Morris-Pratt-Algorithmus de Algorithmus von Knuth-Morris-Pratt es algoritmo Knuth-Morris-Pratt fa کنوث موریس پرات fa الگوریتم تطابق رشته با زمان خطی fi KMP-algoritmi fi Knuthin–Morrisin–Prattin algoritmi fr algorithme de Knuth-Morris-Pratt fr Algorithme de Knuth-Pratt-Morris fr Algorithme KMP fr KMP he אלגוריתם חיפוש מחרוזות של קנות' מוריס פראט he אלגוריתם קנות'-מוריס-פראט id Algoritma Knuth-Morris-Pratt
🔖 Identifiers · 3
Dictionary of Algorithms and Data Structures ID
kmp, kpm, KnuthPrattMorrisAlgorithm, knuthMorrisPratt
Freebase ID
/m/01lksg
Microsoft Academic ID (discontinued)
2780105799

Report an error or request removal Lineage (PROV-JSON)

🔗 Connections
Discoverer or inventor 3
Named after 3
← SNARC ID 1
Press Enter · cited answer in seconds

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). Knuth–Morris–Pratt algorithm. Retrieved November 18, 2026, from https://4ort.xyz/entity/knuth-morris-pratt-algorithm
MLA “Knuth–Morris–Pratt algorithm.” 4ort.xyz Knowledge Graph, 4ort.xyz, 18 Nov. 2026, https://4ort.xyz/entity/knuth-morris-pratt-algorithm.
BibTeX @misc{4ortxyz_knuth-morris-pratt-algorithm_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{Knuth–Morris–Pratt algorithm}}, year = {2026}, url = {https://4ort.xyz/entity/knuth-morris-pratt-algorithm}, note = {Accessed: 2026-11-18}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): Knuth–Morris–Pratt algorithm — https://4ort.xyz/entity/knuth-morris-pratt-algorithm (retrieved 2026-11-18)

Canonical URL: https://4ort.xyz/entity/knuth-morris-pratt-algorithm · Last refreshed:

Edit History

Rolling log of changes to this entity's Wikidata record. Values shown reflect the current state of each edited property — follow the history link to see the precise diff for any edit.

  1. 18d ago · Aldanjack · 2026-11-04 view diff on Wikidata ↗
    Publication date → 1977, 1970
    Named after → Donald Knuth, James H. Morris, Vaughan Ronald Pratt
    Discoverer or inventor → Donald Knuth, James H. Morris, Vaughan Ronald Pratt
    Instance of → exact string-matching algorithm
    + 1 other property edited (see Wikidata diff for full list)
    "Added [fr] description: algorithme de recherche de sous-chaîne de caractères"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.