Skip to content
#

z-algorithm

Here are 17 public repositories matching this topic...

The Z Algorithm is a linear-time string matching algorithm used to find all the occurrences of a pattern string in a text string. It uses a preprocessing step to create a Z array, which stores the length of the longest common prefix of the text and a suffix starting from a specific position.

  • Updated Feb 13, 2023
  • Kotlin

Improve this page

Add a description, image, and links to the z-algorithm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the z-algorithm topic, visit your repo's landing page and select "manage topics."

Learn more