Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ matrix_chain_multiplication.py
File
matrix_chain_multiplication.py
dynamic_programming/matrix_chain_multiplication.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
| Find the minimum number of multiplications needed to multiply chain of matrices.
3
| Reference: https://www.geeksforgeeks.org/matrix-chain-multiplication-dp-8/
4
Callers
nothing calls this directly
Calls
3
elapsed_time
Function · 0.85
matrix_chain_multiply
Function · 0.85
matrix_chain_order
Function · 0.70
Tested by
no test coverage detected