Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Misc
7.7K+ articles
Mathematical
5.1K+ articles
Strings
2.1K+ articles
Amazon
1.9K+ articles
Dynamic Programming
1.1K+ articles
Matrix
744+ articles
subsequence
434+ articles
Game Theory
98+ articles
matrix-chain-multiplication
5 posts
Recent Articles
Popular Articles
Print Matrix after multiplying Matrix elements N times
Last Updated: 23 July 2025
Given a square matrix mat[][] and an integer N, the task is to print the matrix after multiplying the matrix N times.Examples:Input: mat[][] = {{1, 2, 3}, {3, 4, 5}, {6, 7...
read more
Technical Scripter 2020
DSA
matrix-chain-multiplication
Maximize sum of odd-indexed array elements by repeatedly selecting at most 2*M array elements from the beginning
Last Updated: 15 July 2025
Given an array arr[] consisting of N integers and an integer M (initially 1), the task is to find the maximum sum of array elements chosen by Player A when two players A a...
read more
Dynamic Programming
Mathematical
Game Theory
Recursion
DSA
Arrays
Memoization
matrix-chain-multiplication
Longest Balanced Subsequence
Last Updated: 11 March 2025
Given a string str, find the length of the longest balanced subsequence in it. A balanced string is defined as a string sequence that can form a valid balanced expression,...
read more
Misc
Strings
Dynamic Programming
DSA
subsequence
matrix-chain-multiplication
Printing brackets in Matrix Chain Multiplication Problem
Last Updated: 06 December 2025
Given an array arr[] which represents the chain of matrices such that the dimensions of the ith matrix are arr[i-1] x arr[i]. The task is to find the correct parenthesis o...
read more
Dynamic Programming
Matrix
DSA
Amazon
matrix-chain-multiplication
Matrix Chain Multiplication
Last Updated: 23 July 2025
Given the dimension of a sequence of matrices in an array arr[], where the dimension of the ith matrix is (arr[i-1] * arr[i]), the task is to find the most efficient way t...
read more
Dynamic Programming
Matrix
DSA
Microsoft
Amazon
matrix-chain-multiplication