Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ainevsia/Leetcode-Rust
/ recoverTree
Method
recoverTree
99. Recover Binary Search Tree/Solution.cpp:46–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void recoverTree(TreeNode* root) {
47
traverse(root);
48
swap();
49
}
50
};
51
52
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected