The Knuth–Morris–Pratt algorithm cardKnuth–Morris–Pratt algorithm

Knuth–Morris–Pratt algorithm

Uncommon

Rarity: Uncommon

A topic a little better known than average, read and translated beyond its own country.

Rarity follows how well known the article is: its views on the French and English Wikipedia over a year, and the number of languages it exists in.

At a glance

Class
Notion
Domain
Science and technology
In collections
Nobody has pulled it yet.

What Wikipedia says

In computer science, the Knuth–Morris–Pratt algorithm (or KMP algorithm) is a string-searching algorithm that searches for occurrences of a "word" W within a main "text string" S by employing the observation that when a mismatch occurs, the word itself embodies sufficient information to determine where the next match could begin, thus bypassing re-examination of previously matched characters.

Excerpt from the Wikipedia article “Knuth–Morris–Pratt algorithm”, under the CC BY-SA 4.0 license. Read the article on Wikipedia

Image: Fschwarzentruber, CC BY-SA 4.0, via Wikimedia Commons.

Open free boosters and add Knuth–Morris–Pratt algorithm to your collection.

Play for free

Related cards