NEOCODE

Divide-and-Conquer Algorithms MCQs

1. What is the time complexity of MergeSort?

2. Which of the following is NOT a divide-and-conquer algorithm?

3. What is the worst-case time complexity of QuickSort?

4. What is the time complexity of Binary Search?

5. What is the recurrence relation for MergeSort?

6. What is the time complexity of Strassen's Matrix Multiplication?

7. Which of the following is true about the Master Theorem?

8. What is the time complexity of the closest pair problem using divide-and-conquer?

9. What is the space complexity of MergeSort?

10. Which of the following is a key advantage of QuickSort over MergeSort?

11. What is the time complexity of the multiplication of large integers using the divide-and-conquer approach?

12. Which of the following is a divide-and-conquer algorithm for matrix multiplication?

13. What is the time complexity of the Master Theorem for T(n) = 4T(n/2) + n^2 ?

14. What is the time complexity of the Master Theorem for T(n) = 2T(n/2) + n ?

15. What is the time complexity of the Master Theorem for T(n) = 8T(n/2) + n^3 ?

16. What is the time complexity of the Master Theorem for T(n) = T(n/2) + 1 ?

17. Which of the following is a disadvantage of Strassen's Matrix Multiplication?

18. What is the time complexity of the Master Theorem for T(n) = 7T(n/2) + n^2 ?

19. What is the time complexity of the Master Theorem for T(n) = T(n/2) + n ?

20. Which of the following is a divide-and-conquer algorithm for sorting?