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

Function solve

backtracking/magic_sequence.cpp:80–93  ·  view source on GitHub ↗

* @brief Solve the Magic Sequence problem * @param s working memory for the sequence * @param ret list of the valid magic sequences * @param depth current depth in the tree */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 4

is_magicFunction · 0.85
filteringFunction · 0.85
push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected