Company: Apple_MCQ
Difficulty: medium
Which command is used to remove a relation from an SQL? drop table Remove Purge Delete For a given binary tree, what does the following function do? int fun(struct node *root) { if (root == NULL) return 0; if (root->left == NULL && root->right == NULL) return 0; return 1 + fun(root->left) + fun(root->right); } Returns height where height is defined as the number of edges on the path from the root to the deepest node Counts leaf nodes Counts total number of nodes Counts internal nodes