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
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1740 Solvers
-
Return a list sorted by number of consecutive occurrences
430 Solvers
-
Circular Primes (based on Project Euler, problem 35)
652 Solvers
-
303 Solvers
-
Rounding off numbers to n decimals
5548 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!