Problem Statement: Given a Matrix print the transpose of a matrix. Examples: Example 1: Input: mat[][] = 1 2 3

Continue reading# Category: Matrix

## Matrix Addition in C

Problem Statement: Given two matrices add the value of the two matrices and print the resultant matrix. Example 1: Input:

Continue reading## Spiral Traversal of Matrix

Problem Statement: Given a Matrix, print the given matrix in spiral order. Examples: Example 1: Input: Matrix[][] = { {

Continue reading## Matrix Boundary Traversal

Problem Statement: Given a matrix, print only the boundary elements of the matrix. Boundary elements are the ones that are

Continue reading## Rotate Matrix anti-clockwise by 90 degree

Problem statement: Given a matrix, your task is to rotate matrix anti-clockwise by 90 degrees. Examples: Example 1: Input: {{1,2,3},

Continue reading## Transpose a Matrix : Program 0(1) space

Problem statement: Transpose a Matrix. Given a matrix, your task is to find its transpose of the given matrix. Transpose:

Continue reading## Set Matrix Zero

Problem Statement: Given a matrix if an element in the matrix is 0 then you will have to set its

Continue reading## Rotate Image by 90 degree

Problem Statement: Given a matrix, your task is to rotate the matrix 90 degrees clockwise. Note: Rotate matrix 90 degrees

Continue reading## Search in a sorted 2D matrix

Problem Statement: You have been given a 2-D array ‘mat’ of size ‘N x M’ where ‘N’ and ‘M’ denote

Continue reading