## Find the sum of elements of the Matrix generated by the given rules

Given three integers A, B and R, the task is to find the sum of all the elements of the matrix generated by the given… 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 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
- Count number of ways to reach destination in a Maze using BFS
- 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
- Print a given matrix in spiral form using direction tracking method
- Maze With N doors and 1 Key
- Find row with maximum and minimum number of zeroes in given Matrix
- Find maximum path sum in a 2D matrix when exactly two left moves are allowed
- Find the position of the given row in a 2-D array
- Check if a cycle of length 3 exists or not in a graph that satisfy a given condition
- Find a sub matrix with maximum XOR
- Check if the robot is within the bounds of the grid after given moves
- Number of ways to reach the end of matrix with non-zero AND value
- Queries to find the last non-repeating character in the sub-string of a given string
- Find a way to fill matrix with 1's and 0's in blank positions
- Implementation of BFS using adjacency matrix
- Find the original matrix when largest element in a row and a column are given
- Find the number of p-sided squares in a grid with K blacks painted
- Check if the rows of a binary matrix can be made unique by removing a single column
- Find if a binary matrix exists with given row and column sums
- Paths from entry to exit in matrix and maximum path sum
- C++ program to Convert a Matrix to Sparse Matrix
- Find the number of cells in the table contains X
- Print an N x M matrix such that each row and column has all the vowels in it

Given three integers A, B and R, the task is to find the sum of all the elements of the matrix generated by the given… Read More »

Given a maze of 0 and -1 cells, the task is to find all the paths from (0, 0) to (n-1, m-1), and every path… Read More »

Given a 2-D matrix mat[][], the task is to print it in the spiral form. Examples: Input: mat[][] = { {1, 2, 3, 4}, {5,… Read More »

Consider a rat placed at (0, 0) in a square matrix m[ ][ ] of order n and has to reach the destination at (n-1,… Read More »

Given a matrix of order NxN, the task is to find the minimum number of steps to convert given matrix into Diagonally Dominant Matrix. In… Read More »

Given a matrix mat[][] of size m * n which is sorted in row-wise fashion and an array row[], the task is to check if… Read More »

Given a directed, unweighted graph with N vertices and an integer K. The task is to find the number of paths of length K for… Read More »

Given a matrix of dimension m * n where each cell in the matrix can have values 0, 1 or 2 which has the following… Read More »

Given an N*N matrix mat[][], the task is to find the sum of Eigen values of the given matrix. Examples: Input: mat[][] = { {2,… Read More »

Given a matrix of order NxN, Find the minimum number of steps to convert given matrix into Lower Hessenberg matrix. In each step, the only… Read More »

Given a matrix of order NxN, Find the minimum number of steps to convert given matrix into Upper Hessenberg matrix. In each step, the only… Read More »

Given a positive integer N, the task is to print the Lower Hessenberg matrix of order N which includes any one-digit random positive integer as… Read More »

Given a positive integer N, the task is to print the Upper Hessenberg matrix of order N which includes any one-digit random positive integer as… Read More »

Given an array Row[] of size R where Row[i] is the sum of elements of the ith row and another array Column[] of size C… Read More »

Given a square matrix mat[][] of size n * n. The task is to print all the elements which lie on the super-diagonal of the… Read More »