演算法›Ch3 動態規劃第 10 題/共 40 題
10. Matrix Chain Multiplication、Dynamic Programming
#AL-03-010中Matrix Chain MultiplicationDynamic Programming
Dynamic programming can be used to solve the matrix-chain multiplication problem. Suppose we hope to compute the matrix product with the matrix dimensions as follows.
| matrix | ||||||
|---|---|---|---|---|---|---|
| dimension |
Let be the minimum number of scalar multiplications needed to compute the matrix . What is ? (A) 4375 (B) 7125 (C) 5375 (D) 8500 (E) none of the other choices
📄 台大111
▤完整推導請見《WH 資工筆記 · 演算法》Ch3 動態規劃