Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Algorithm: <Matrix chain multiplication> Add Matrix chain multiplication in dynamic programming #1381

Closed
5 tasks done
shuvojitss opened this issue Oct 27, 2024 · 1 comment · Fixed by #1545
Closed
5 tasks done
Assignees
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

Comments

@shuvojitss
Copy link
Contributor

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:

  • No. of Matrices
  • The dimensions of matrices (n+1 integers where nth matrix has dimensions arr[i] x arr[i+1]):

Output:

Minimum number of multiplications required for the matrices multiplication

Potential Benefits

  • Improves user experience
  • Enhances learning
  • Adds a new feature
  • Improves code quality
  • Other

Implementation Suggestions (Optional)

No response

@shuvojitss shuvojitss added the enhancement New feature or request label Oct 27, 2024
@github-actions github-actions bot added 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 labels Oct 27, 2024
Copy link

👋 Hi @shuvojitss! Thanks for opening this issue. We appreciate your contribution to the Algo project. Our team will review it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant