Question

What is the primary goal of the Matrix Chain Multiplication problem in dynamic programming?

A To find the shortest path between two nodes in a graph.
B To determine the optimal way to multiply a sequence of matrices with the minimum number of scalar multiplications.
C To sort a matrix into ascending order.
D To compute the determinant of a matrix.
E To solve a system of linear equations.
Practice Next

Hey! Ask a query