GATE CSE Trees – Data Structures Practice Test | Set 1

Questions 11-15 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 11

MCQ · Single Correct 1 mark

In a binary tree, which traversal visits the root before both subtrees?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

For a binary tree with n nodes, what is the time complexity of a complete traversal?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

Which traversal of a BST can be used to output keys in nondecreasing order?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

A binary tree has height h. What is the minimum possible number of nodes when h is measured in edges?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

A perfect binary tree has 31 nodes. What is its height when the root has height 0?

Answers for question 15
Scroll to Top