Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ istreebalanced
Function
istreebalanced
CPP/binarytreeuse.cpp:296–300 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
294
}
295
296
bool istreebalanced(binarytree<int>*root)
297
{
298
pair<bool,int>ans=balancedhelper(root);
299
return ans.first;
300
}
301
302
void leveloder(binarytree<int>*root)
303
{
Callers
nothing calls this directly
Calls
1
balancedhelper
Function · 0.85
Tested by
no test coverage detected