My Report

Data Structure I Mock Test 8


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. d-heap is shallower than a binary heap.

Question 1 of 10

Question 2 of 10

2. Which of the following operations does not destroy the leftist heap property?

Question 2 of 10

Question 3 of 10

3. What is the reason for the efficiency of a pairing heap?

Question 3 of 10

Question 4 of 10

4. Which of the following is difficult to determine the right path length?

Question 4 of 10

Question 5 of 10

5. What are the siblings of smallest element of the given maximum ternary heap?
ternary-heap-multiple-choice-questions-and-answers-mcqs-q2

Question 5 of 10

Question 6 of 10

6. In a binary min heap containing n elements, the largest element can be found in __________ time.

Question 6 of 10

Question 7 of 10

7. Should leaves in ternary heap be distributed from left to right.

Question 7 of 10

Question 8 of 10

8. The worst case analysis for a naïve merge is given as?

Question 8 of 10

Question 9 of 10

9. The actual pairing heap implementation uses the right child and left child representation.

Question 9 of 10

Question 10 of 10

10. What is a time complexity for finding the longest palindromic substring in a string by using the generalized suffix tree?

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.