## Maximum sum path in a matrix from top to bottom

Consider a n*n matrix. Suppose each cell in the matrix has a value assigned. We can go from each cell in row i to a… Read More »

- Minimum time required to rot all oranges | Dynamic Programming
- Rat in a Maze Problem when movement in all possible directions is allowed
- Count number of ways to reach a given score in a Matrix
- Count number of ways to reach destination in a maze
- Maximum sum path in a matrix from top to bottom and back
- Minimum steps required to reach the end of a matrix | Set 2
- Number of shortest paths to reach every cell from bottom-left cell in the grid
- Find minimum steps required to reach the end of a matrix | Set - 1
- Find the sum of the diagonal elements of the given N X N spiral matrix
- Find the number of paths of length K in a directed graph
- Find minimum steps required to reach the end of a matrix | Set 2
- Count number of ways to reach destination in a Maze using BFS
- Print a given matrix in spiral form using direction tracking method
- Find maximum path sum in a 2D matrix when exactly two left moves are allowed
- Find row with maximum and minimum number of zeroes in given Matrix
- Find the position of the given row in a 2-D array
- Find a sub matrix with maximum XOR
- Check if the robot is within the bounds of the grid after given moves
- Check if a cycle of length 3 exists or not in a graph that satisfy a given condition
- Number of ways to reach the end of matrix with non-zero AND value
- Maze With N doors and 1 Key
- Find the original matrix when largest element in a row and a column are given
- Find a way to fill matrix with 1's and 0's in blank positions
- Element in a matrix starting from which anti-clockwise traversal ends at the last element
- Queries to find the last non-repeating character in the sub-string of a given string
- Find the number of p-sided squares in a grid with K blacks painted
- Find if a binary matrix exists with given row and column sums
- Find the number of cells in the table contains X
- Paths from entry to exit in matrix and maximum path sum
- C++ program to Convert a Matrix to Sparse Matrix

Consider a n*n matrix. Suppose each cell in the matrix has a value assigned. We can go from each cell in row i to a… Read More »

Given a matrix of order m*n then the task is to find the frequency of even and odd numbers in matrix Examples: Input : m… Read More »

Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More »

Normally mean of matrix is the average of all elements present in matrix. Consider a modified mean as floor of mean of row-wise minimum and… Read More »

Given a matrix containing an integer value, In which each cell of the matrix represents height of building. Find minimum jumps needed reach from First… Read More »

Given a square matrix, swap upper diagonal elements of matrix with lower diagonal elements of matrix. Examples : Input: 2 3 5 6 4 5… Read More »

We are given three values , and where is number of rows in matrix, is number of columns in the matrix and is the number… Read More »

Given a 2-D array of order N x N, print a matrix which is mirror of given tree across diagonal. We need to print the… Read More »

Given two matrix the task is that we will have to create a program to multiply two matrices in python. Examples: Input : X =… Read More »

Given a string, print it inside a matrix in such a way that a ‘plus’ is formed. Examples: Input: TOP Output: X T X T… Read More »

Pablo has square chocolate Box of size n x n in which a variety of healthy chocolates are present denoted by ‘H’ initially but he… Read More »

There is a given binary matrix, we need to find if there exists any rectangle or square in the given matrix whose all four corners… Read More »

Given a number n. we need to print all N digit pattern formed by mobile Keypad. Note: we can move up, down, left, right from… Read More »

Given a square matrix the task is that we turn it by 180 degrees in anti-clockwise direction without using any extra space. Examples : Input… Read More »

We have one 2D array, filled with zeros and ones. We have to find the starting point and ending point of all rectangles filled with… Read More »