Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Source

Z-function, Algorithms for Competitive Programming

Web Source
Facts
Url
https://cp-algorithms.com/string/z-function.html
Sources
Z-function, Algorithms for Competitive Programming
Lead section
Quote, Lead section
The Z-function for this string is an array of length $n$ where the $i$ -th element is equal to the greatest number of characters starting from the position $i$ that coincide with the first characters of $s$ .
View the Source
Claims Backed By This Source (3 claims)

This source backs 3 claims across the atlas. As facts: 2 well-attested. Plus 1 entities citing it as a general reference with no single fact or relationship attached.

Disposition By Topic

  • Algorithms, 2 claims: 1 well-attested, 1 general references.
  • Sources, 1 claims: 1 well-attested.

General References

1

Algorithms

Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.