Mental Model
We want to multiply a chain of matrices with the least number of multiplications by choosing the best order to multiply them.
Analogy: Imagine you have several long ropes to tie together. The order in which you tie them affects how much effort you spend. Choosing the best order saves effort.
Matrices: A1[10x30] -> A2[30x5] -> A3[5x60] Goal: Find best way to multiply A1xA2xA3 with minimum cost.
