Examveda

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(n3)

C. O(n2)

D. Exponential

Answer: Option D


Join The Discussion

Related Questions on Dynamic Programming in Data Structures