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 Solvers10
Suggested Problems
-
296 Solvers
-
Calculate the probability that at least two people in a group share the same birthday.
106 Solvers
-
327 Solvers
-
Sum of diagonals elements of a matrix
233 Solvers
-
Numbers spiral diagonals (Part 1)
304 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!