TERMIUM Plus®

The Government of Canada’s terminology and linguistic data bank.

KNUTH-MORRIS-PRATT ALGORITHM [1 record]

Record 1 2020-11-04

English

Subject field(s)
  • Computer Mathematics
  • Computer Programs and Programming
CONT

At a high level, the KMP algorithm is similar to the naive algorithm: it considers shifts in order from 1 to n−m, and determines if the pattern matches at that shift. The difference is that the KMP algorithm uses information gleaned from partial matches of the pattern and text to skip over shifts that are guaranteed not to result in a match.

French

Domaine(s)
  • Mathématiques informatiques
  • Programmes et programmation (Informatique)

Spanish

Save record 1

Copyright notice for the TERMIUM Plus® data bank

© Public Services and Procurement Canada, 2024
TERMIUM Plus®, the Government of Canada's terminology and linguistic data bank
A product of the Translation Bureau

Features

Language Portal of Canada

Access a collection of Canadian resources on all aspects of English and French, including quizzes.

Writing tools

The Language Portal’s writing tools have a new look! Easy to consult, they give you access to a wealth of information that will help you write better in English and French.

Glossaries and vocabularies

Access Translation Bureau glossaries and vocabularies.

Date Modified: