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 Solvers12
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
486 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2584 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
698 Solvers
-
Back to basics - mean of corner elements of a matrix
469 Solvers
-
Factorions: Numbers that equal the sum of the factorials of their digits
84 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!