[New Algorithm: <Matrix chain multiplication> Add Matrix chain multiplication in dynamic programming #1381
Closed
5 tasks done
Labels
enhancement
New feature or request
gssoc-ext
Contributions made as part of GirlScript Summer of Code Extended Edition.
hacktoberfest-accepted
PRs accepted for Hacktoberfest 2024. Ensures contributions are counted towards the official Hackt...
level1
GirlScript Summer of Code | Contributor's Levels
Idea Title
Matrix Chain Multiplication
Idea Description
Matrix Chain Multiplication
Name
[New Algorithm]
Given a sequence of matrices, find the most efficient way to multiply these matrices together. The efficient way is the one that involves the least number of multiplications.The dimensions of the matrices are given in an array arr[] of size N (such that N = number of matrices + 1) where the ith matrix has the dimensions (arr[i-1] x arr[i]).Input:
Output:
Minimum number of multiplications required for the matrices multiplication
Potential Benefits
Implementation Suggestions (Optional)
No response
The text was updated successfully, but these errors were encountered: