Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
bool 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
find
Function · 0.70
Tested by
no test coverage detected