GATE CSE Trees – Data Structures Practice Test | Set 1

Questions 16-20 of 100

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

Question 16

MCQ · Single Correct 1 mark

Which condition is sufficient for a binary tree to be complete?

Answers for question 16

Question 17

MCQ · Single Correct 1 mark

In a 0-based array representation of a binary heap, what is the index of the left child of node i?

Answers for question 17

Question 18

MCQ · Single Correct 1 mark

In a 0-based array representation of a binary heap, what is the index of the right child of node i?

Answers for question 18

Question 19

MCQ · Single Correct 1 mark

In a max-heap, which property is guaranteed for every node with a parent?

Answers for question 19

Question 20

MCQ · Single Correct 1 mark

What is the worst-case time complexity of searching in a skewed BST with n nodes?

Answers for question 20
Scroll to Top