1.

Consider the brute force implementation in which we find all the possible ways of multiplying the given set of n matrices. What is the time complexity of this implementation?

A. O(n!)
B. O(n<sup>3</sup>)
C. O(n<sup>2</sup>)
D. Exponential
Answer» E.


Discussion

No Comment Found