[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Data Structures :: Trees - Discussion

Home > Data Structures > Trees > MCQs Questions Discussion

21 / 194

Choose the correct option.

Assume that a structure for a Binary Search Tree exists. What does the following function do?

int function(root)
{
current = root;
while (current->left != NULL)
{
current = current->left;
}
return(current->data);
} ?

Aleft most child of BST

Bright most child of BST

CIt gives a compilation error

DNone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!