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 by 90 degrees. Examples: Example 1: Input: [[1,2,3],[4,5,6],[7,8,9]]

Continue reading## Search in a sorted 2D matrix

Problem Statement: Given an m*n 2D matrix and an integer, write a program to find if the given integer exists

Continue reading