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

Function getFailureArray

strings/knuth_morris_pratt.cpp:32–44  ·  view source on GitHub ↗

* @brief Generate the partial match table aka failure function for a pattern to * search. * @param pattern text for which to create the partial match table * @returns the partial match table as a vector array */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

kmpFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected