Optimal Matrix Chain Multiplication • Minimize scalar multiplications
Enter dimensions: A₁(d₀×d₁) × A₂(d₁×d₂) × ... means dimensions = d₀,d₁,d₂,...