Exactly, I wrote the answer as 0 as I thought you intentionally made the question that way where the matrices are not compatible with each other. If not intentional , sir then flip M2 and M4 , then the answer becomes 5.
@ Deependra
Now it is correct, please check ,
#row of M2 = #column of M1,
and #row of M4 = #column of M3, so both are compatible with each other..
Given M1 M2 M3 M4
Hence total number of orderings are 5 .
saxena0612
yes, first order is minimum.
1st order = 1750 operations ( min )
2nd order = 31,000
3rd order = 5300
4th order = 8000
5th order = 75, 500 ( max)
64.3k questions
77.9k answers
244k comments
80.0k users