MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / inorder

Function inorder

CPP/BST/InsertionInABST.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 return temp;
16}
17void inorder(struct node *root) {
18 if (root != NULL) {
19 inorder(root->left);
20 cout << root->data << " ";
21 inorder(root->right);
22 }
23}
24int search(struct node *root, int key){
25 struct node *prev = NULL;
26 while(root!=NULL){

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected