Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devparthgarg/Data-Structures-and-Algorithms
/ Node
Class
Node
15. Binary Tree/02 Tree Class/02.cpp:10–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
*/
9
10
class Node
11
{
12
public:
13
int data;
14
Node* left;
15
Node* right;
16
17
Node(int d)
18
{
19
data=d;
20
left=NULL;
21
right=NULL;
22
}
23
};
24
25
int main()
26
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected