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

Function check

dynamic_programming/word_break.cpp:80–117  ·  view source on GitHub ↗

* @brief Function that checks if the string passed in param can be * segmented from position 'pos', and then correctly go on to segment the * rest of the string correctly as well to reach a solution * * @param s the complete string to be segmented * @param strSet unordered set of string, that is to be used as the * reference dictionary * @param pos the index value at which we will segment s

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wordBreakFunction · 0.85

Calls 1

existsFunction · 0.85

Tested by

no test coverage detected