MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / foldableCheck

Function foldableCheck

CPP/Trees/tree_foldable.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20bool foldableCheck(node *root)
21{
22 if (root == NULL)
23 {
24 return true;
25 }
26
27 return find(root->left, root->right);
28}

Callers

nothing calls this directly

Calls 1

findFunction · 0.70

Tested by

no test coverage detected