My Report

Data Structure II Practice Test 3


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

1. What is the advantage of radix sort over quick sort?

2. What is the auxiliary space complexity of recursive insertion sort?

3. Which of the following is a combination of LSD and MSD radix sorts?

4. What is the best case time complexity of recursive bubble sort?

5. The complexity of which of the following sorting algorithms remains to be the same in its best, average and worst case?

6. How many recursive statements are used in the algorithm of stooge sort?

7. Which of the following don’t affect the time complexity of bucket sort?

8. MSD radix sort should be preferred over LSD radix sort when we have to maintain the original relative order.

9. Which of the following code fragment puts sorted values in an array using beads correctly?

10. Which of the following is an in-place sorting algorithm?


 

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.