1.

What is the time complexity of matrix multiplied recursively by Divide and Conquer Method?(a) O(n)(b) O(n^2)(c) O(n^3)(d) O(n!)I got this question by my school principal while I was bunking the class.This interesting question is from Recursion topic in section Recursion of Data Structures & Algorithms II

Answer»

Correct option is (c) O(n^3)

BEST explanation: The time COMPLEXITY of recursive multiplication of two square MATRICES by the Divide and Conquer method is found to be O(n^3) since there are total of 8 recursive calls.



Discussion

No Comment Found

Related InterviewSolutions