May 30, 2024
2 * 3 * 2 = 12
(A1 * A2) * A3
A1 * (A2 * A3)
C(i, j) = min {C(i, k) + C(k+1, j) + d(i-1) * d(k) * d(j)}
i <= k < j
3x2, 2x4, 4x2, 2x5
N * (N-1) / 2
Full transcript