## Minimum cost to reach from the top-left to the bottom-right corner of a matrix

Given an N * M matrix mat[][] consisting of lower case characters, the task is to find the minimum cost to reach from the cell… Read More »

- Real-time application of Data Structures
- Largest Square in a Binary Matrix with at most K 1s for multiple Queries
- Construct a Doubly linked linked list from 2D Matrix
- Flood Fill Algorithm
- Program to reverse the rows in a 2d Array
- Submatrix of given size with maximum 1's
- Puzzle | Connect 9 circles each arranged at center of a Matrix using 3 straight lines
- Maximum of all distances to the nearest 1 cell from any 0 cell in a Binary matrix
- Return an array of anti-diagonals of given N*N square matrix
- Check whether a Matrix is a Latin Square or not
- Maximum size of square such that all submatrices of that size have sum less than K
- Find the count of mountains in a given Matrix
- Find if there is a path between two vertices in a directed graph | Set 2
- Minimum number of Water to Land conversion to make two islands connected in a Grid
- Construct a Matrix of size NxN with values in range [1, N^2] as per given conditions
- Count of palindromic plus paths in a given Matrix
- Java Program to Add two Matrices
- Traverse a given Matrix using Recursion
- Encryption and Decryption of String according to given technique
- C program to implement Adjacency Matrix of a given Graph
- Maximum size square Sub-Matrix with sum less than or equals to K
- Check if any King is unsafe on the Chessboard or not
- Leftmost Column with atleast one 1 in a row-wise sorted binary matrix
- Sort the major diagonal of the matrix
- Minimize count of divisions by D to obtain at least K equal array elements
- Java Program to Multiply two Matrices of any size
- Check if cells numbered 1 to K in a grid can be connected after removal of atmost one blocked cell
- Count all square sub-matrix with sum greater than the given number S
- Generalized Fibonacci Numbers
- Find the product of sum of two diagonals of a square Matrix

Given an N * M matrix mat[][] consisting of lower case characters, the task is to find the minimum cost to reach from the cell… Read More »

Given a 2D array of characters with M rows and N columns. The task is to print all the possible paths from top (first row)… Read More »

A graph is a presentation of a set of entities where some pairs of entities are linked by a connection. Interconnected entities are represented by… Read More »

Given a linear board of length N numbered from 1 to N, the task is to find the expected number of moves required to reach… Read More »

Given two 2D arrays b[][] and c[][] of N rows and M columns. The task is to minimise the absolute difference of the sum of… Read More »

Given an N * N grid consisting of empty cells (denoted by ‘1’) and obstacles (denoted by ‘0’), the task is to find the number… Read More »

Given an N * N matrix where N is odd with all 0 values except for a single cell which has the value 1. The… Read More »

Given an infinite matrix filled with the natural numbers as shown below: 1 2 4 7 . . . 3 5 8 . . .… Read More »

Given a matrix of size M * N, the task is to find the count of the minimum number of cells that must be flipped… Read More »

Given a matrix of N rows and M columns. It is given that M is a multiple of 3. The columns are divided into 3… Read More »

Given a matrix, the task is to convert the given Matrix into sorted Spiral Matrix. Examples: Input: y[][] = { { 2, 5, 12 },… Read More »

Given an array, the task is to form a spiral matrix Examples: Input: arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9,… Read More »

Given two integers X and Y. The task is to find the number of ways to reach (X, Y) in a matrix starting from the… Read More »

Given n x n points on cartesian plane, the task is to find the weight at (xi, yj) after m operation. xi, yj, w denotes… Read More »