Update strings/z_function.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
RitikaGupta8734
2021-09-02 09:40:42 +05:30
committed by GitHub
parent 96c64e5e2c
commit 0737aff7a3

View File

@@ -4,7 +4,6 @@
* finding occurences of a pattern within a piece of text with time and space
* complexity O(n + m)
* @details
* DESCRIPTION
* 1. The Z-function for a 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.