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*30
I 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