GATE CSE Trees – Data Structures Practice Test | Set 1

Questions 51-55 of 100

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

Question 51

MCQ · Single Correct 1 mark

What is the worst-case time complexity of inserting an element into a binary heap of n elements?

Answers for question 51

Question 52

MCQ · Single Correct 1 mark

What is the worst-case time complexity of extracting the root from a binary heap of n elements?

Answers for question 52

Question 53

MCQ · Single Correct 1 mark

What is the time complexity of finding an arbitrary element in a binary heap in the worst case?

Answers for question 53

Question 54

MCQ · Single Correct 1 mark

What is the time complexity of building a heap using bottom-up heap construction?

Answers for question 54

Question 55

MCQ · Single Correct 1 mark

In a max-heap, after inserting a new key, which operation restores heap order?

Answers for question 55
Scroll to Top