MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / TreeNode

Method TreeNode

101. Symmetric Tree/Solution.cpp:18–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 TreeNode *left;
17 TreeNode *right;
18 TreeNode() : val(0), left(nullptr), right(nullptr) {}
19 TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
20 TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {}
21};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected