## Construct Linked List from 3D Matrix

Given a 3D matrix mat[ ][ ][ ] of size X * Y * Z. The task is to convert this matrix into a fully… 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
- Return an array of anti-diagonals of given N*N square matrix
- Maximum of all distances to the nearest 1 cell from any 0 cell in a Binary 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 a 3D matrix mat[ ][ ][ ] of size X * Y * Z. The task is to convert this matrix into a fully… Read More »

Given a matrix mat[][] with N rows and M columns. The task is to find the minimum number of changes required in the matrix such… Read More »

Given a number N, the task is to create a square matrix of size N*N with values in range [1, N*N], such that the sum… Read More »

Given a squared matrix M[ ][ ] of N * N dimensions, the task is to find the Kth diagonal of the matrix, starting from… Read More »

We all know that Fibonacci numbers (Fn) is defined by the recurrence relation Fibonacci Numbers (Fn) = F(n-1) + F(n-2) with seed values F0 = 0 and… Read More »

Given an array arr[] of size N, the task is to find the number of non-empty subsequences from the given array such that no two… Read More »

Given a matrix of size N x M and an integer X, the task is to find the number of sub-squares in the matrix with… Read More »

Given two integers N and M, the task is to find the numbers of ways to form a matrix of size N * M consisting… Read More »

Given a matrix mat[][] of size M*N, the task is to sort only the border elements of the matrix in the clockwise direction and print… Read More »

Given three integers R, C, N, and an array arr[] of size N. The task is to color all cells of a grid of R… Read More »

Given a Directed Graph and two vertices in it, check whether there is a path from the first given vertex to second. Example: Consider the… Read More »

Given a binary matrix V[][] of dimensions N * M, wherein each cell is either empty or blocked marked by a 0 and 1 respectively,… Read More »

Given an unweighted directed graph G as a path matrix, the task is to find out if the graph is Strongly Connected or Unilaterally Connected… Read More »

Given two integers N and M. The task is to find the minimum number of points required to cover an N * M grid. A… Read More »

Given a 2D grid of size N x M. The task is to find the final direction after visiting every cell under given conditions. You… Read More »