# Category Archives: Matrix

Given a square matrix, turn it by 90 degrees in anti-clockwise direction without using any extra space.Examples :   Input: Matrix: 1 2 3 4 5… Read More
Given a square matrix, turn it by 90 degrees in anti-clockwise direction without using any extra space.Examples :   Input: Matrix: 1 2 3 4 5… Read More
Given a matrix of n X n. The task is to calculate the absolute difference between the sums of its diagonal.Examples:   Input : mat[][] =… Read More
Given a matrix of n X n. The task is to calculate the absolute difference between the sums of its diagonal.Examples:   Input : mat[][] =… Read More
Given a matrix of n X n. The task is to calculate the absolute difference between the sums of its diagonal.Examples:   Input : mat[][] =… Read More
Given a matrix of n X n. The task is to calculate the absolute difference between the sums of its diagonal.Examples:   Input : mat[][] =… Read More
Given a matrix of n*n size, the task is to find whether all rows are circular rotations of each other or not.  Examples:  Input: mat[][]… Read More
Given a matrix of n*n size, the task is to find whether all rows are circular rotations of each other or not.  Examples:  Input: mat[][]… Read More
Given a matrix of n*n size, the task is to find whether all rows are circular rotations of each other or not.  Examples:  Input: mat[][]… Read More
Given a matrix of n*n size, the task is to find whether all rows are circular rotations of each other or not.  Examples:  Input: mat[][]… Read More
Given a matrix of n*n size, the task is to find whether all rows are circular rotations of each other or not.  Examples:  Input: mat[][]… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More