Amit Bansal
Amit Bansal
hey, i am not sure what are you trying to say. can you please elaborate? And how height of all the three nodes can be zero? One of these three...
``` void preorder(struct Node* root) { if(root==NULL) return; printf("Data : %d | Balancing factor : %d\n",root->data, Balance(root)); preorder(root->left); preorder(root->right); } ``` So i inserted (10, 4, 6) in that order....
There is no attachment here. And i am using the same code as in my repository with only changes made in preorder traversal which are shown above.