Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices.
In this problem, you have to find out how many ways there exist to multiply the matrices.
For example, for ABC - there are two ways to parenthesize/multiply -- A(BC) or (AB)C.

Solution Stats

16 Solutions

13 Solvers

Last Solution submitted on Sep 29, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...