第六章 - Matrix Chain Multiplication - uva442 - stack
SupposeyouhavetoevaluateanexpressionlikeA*B*C*D*EwhereA,B,C,DandEarematrices.Sincematrixmultiplicationisassociative,theorderinwhichmultiplicationsareperformedisarbitrary.However,thenumberofelementarym