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

Function abbreviation

dynamic_programming/abbreviation.cpp:119–145  ·  view source on GitHub ↗

* @brief * Iterative Dynamic Programming function * @details * Returns whether `s` can be converted to `t` with following rules: * a. Capitalize zero or more of s's lowercase letters from string `s` * b. remove all other lowercase letters from string `s` * Note: The transition states for iterative is similar to recursive as well * @param str given string, which might not be abbreivated * @

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected