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

Function is_magic

backtracking/magic_sequence.cpp:53–60  ·  view source on GitHub ↗

* @brief Check if the sequence is magic * @param s working memory for the sequence * @returns true if it's a magic sequence * @returns false if it's NOT a magic sequence */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

solveFunction · 0.85
testFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected