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

Function find_pat_in_text

strings/z_function.cpp:54–66  ·  view source on GitHub ↗

* @brief Using Z_function to find a pattern in a text * \param[in] pattern string pattern to search * \param[in] text text in which to search * \returns a vector of starting indexes where pattern is found in the text */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 3

Z_functionFunction · 0.85
push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected