1.

Consider the two matrices P and Q which are 10 x 20 and 20 x 30 matrices respectively. What is the number of multiplications required to multiply the two matrices?(a) 10*20(b) 20*30(c) 10*30(d) 10*20*30I have been asked this question during an interview for a job.Enquiry is from Matrix-chain Multiplication in portion Dynamic Programming of Data Structures & Algorithms II

Answer» RIGHT answer is (d) 10*20*30

The BEST EXPLANATION: The NUMBER of multiplications required is 10*20*30.


Discussion

No Comment Found

Related InterviewSolutions