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

Function exists

dynamic_programming/word_break.cpp:60–63  ·  view source on GitHub ↗

* @brief Function that checks if the string passed in param is present in * the the unordered_set passed * * @param str the string to be searched * @param strSet unordered set of string, that is to be looked into * @returns `true` if str is present in strSet * @returns `false` if str is not present in strSet */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

checkFunction · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected