Get the balance factor
| 69 | |
| 70 | // Get the balance factor |
| 71 | int getBalance(struct Node *N) |
| 72 | { |
| 73 | if (N == NULL) |
| 74 | return 0; |
| 75 | return height(N->left) - height(N->right); |
| 76 | } |
| 77 | |
| 78 | // Insert node |
| 79 | struct Node *insertNode(struct Node *node, int key) |
no test coverage detected