1.

Consider the matrices P, Q, R and S which are 20 x 15, 15 x 30, 30 x 5 and 5 x 40 matrices respectively. What is the minimum number of multiplications required to multiply the four matrices?(a) 6050(b) 7500(c) 7750(d) 12000I had been asked this question in semester exam.My question comes from Matrix-chain Multiplication in division Dynamic Programming of Data Structures & Algorithms II

Answer» CORRECT ANSWER is (c) 7750

Best EXPLANATION: The minimum number of multiplications REQUIRED is 7750.


Discussion

No Comment Found

Related InterviewSolutions