MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / Z_function

Function Z_function

strings/z_function.cpp:29–46  ·  view source on GitHub ↗

* @brief Generate the Z-function for the inputted string. * \param[in] pattern text on which to apply the Z-function * \returns the Z-function output as a vector array */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

find_pat_in_textFunction · 0.85

Calls 2

minFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected