## Program to check if matrix is lower triangular

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

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

We are given an infinite two dimensional plane made of hexagons connected together. We can visualize this plane as a honeycomb. Element X is present… Read More »

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 »

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 7… 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 paython. 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 »