Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ TreeNode
Method
TreeNode
Trees/addOneRowToTree.cpp:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
int val;
7
TreeNode *left,*right;
8
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
9
};
10
11
/*
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected