## Program to check if matrix is upper triangular

Given a square matrix and the task is to check the matrix is in upper triangular form or not. A square matrix is called upper… Read More »

- Largest Square in a Binary Matrix with at most K 1s for multiple Queries
- Real-time application of Data Structures
- 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
- Check whether a Matrix is a Latin Square or not
- 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
- Find the count of mountains in a given Matrix
- Maximum size of square such that all submatrices of that size have sum less than K
- 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
- Maximum size square Sub-Matrix with sum less than or equals to K
- C program to implement Adjacency Matrix of a given Graph
- Sort the major diagonal of the matrix
- Leftmost Column with atleast one 1 in a row-wise sorted binary matrix
- Check if any King is unsafe on the Chessboard or not
- Minimize count of divisions by D to obtain at least K equal array elements
- Check if cells numbered 1 to K in a grid can be connected after removal of atmost one blocked cell
- Java Program to Multiply two Matrices of any size
- Generalized Fibonacci Numbers
- Count all square sub-matrix with sum greater than the given number S
- Find the product of sum of two diagonals of a square Matrix

Given a square matrix and the task is to check the matrix is in upper triangular form or not. A square matrix is called upper… Read More »

Given a matrix of N X M, each cell consist of an integer. We have initial power of K and we are allowed to move… Read More »

Given two integers N and M. Consider two matrix ANXM, BNXM. Both matrix A and matrix B contains elements from 1 to N*M. Matrix A… Read More »

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 »