Maximal SquareIn the maximal square problem we have given a 2D binary matrix filled with 0’s and 1’s, read more
Word SearchWord search is something like the word-finding puzzles at some time in our life. Today I bring to read more
Toeplitz MatrixGiven a 2-D matrix of size (m x n), check whether the matrix is Toeplitz or not. A Toeplitz matrix read more
Set Matrix ZeroesIn the set matrix zeroes problem, we have given a (n X m) matrix, if an element is 0, set its read more
Sudoku SolverIn the sudoku solver problem we have given a partially filled (9 x 9) sudoku, write a program to read more
Minimum Path SumIn the minimum path sum problem, we have given “a × b” matrix consisting of read more
Unique PathsA m x n 2D  grid is given and you are standing at the topmost and leftmost cell in the grid. i.e. read more
K-th Smallest Element in a Sorted MatrixIn K-th Smallest Element in a Sorted Matrix problem, we have given an n x n matrix, where every row read more
Valid SudokuValid Sudoku is a problem in which we have given a 9*9  Sudoku board. We need to find the given read more
N queen problemN queen problem using the concept of Backtracking. Here we place queen such that no queen under read more
Matrix Chain Multiplication using Dynamic ProgrammingMatrix Chain Multiplication is a method in which we find out the best way to multiply the given read more
Multiplication of two matricesGiven two matrices, this function will multiply the two matrices and prints the result. Here, read more
Subtraction of two matricesGiven two matrices, we will write a function that subtracts the given matrices. Example INPUT read more
Check if two given matrices are identicalGiven two matrices, we will write a function to check whether the two matrices are identical or read more
Addition of MatricesGiven two matrices, we need to add the two matrices and give new matrix. Example Input : A[4][4] = read more
Transpose of a MatrixGiven two matrices, we need to add the two matrices and give new matrix. Transpose of a matrix :  read more