ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, check if the sum of ith row and ith column are same Problem Statement: You are given a 2D matrix of size m * n, you need to check if the sum of ith row and ith column are same. If the dimension… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, check if all rows of a matrix are circular rotation of each other Problem Statement: You are given a 2D matrix of n*n size. You need to find if all rows are circular rotation of each other. Example: Input: 1,… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, check if the matrix is sparse or not Problem Statement: You are given a 2D matrix with n * m size, you need to check if the matrix is sparse or not. A matrix is called as sparse… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, find the transpose of the matrix Problem Statement: You are given a matrix. You need to find the transpose of the matrix. A transpose of a matrix can be found by converting… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, check if it is a magic square or not Problem Statement: You are given a matrix, you need to check if the matrix is a Magic Square or not. A matrix is a magic square of n * n,… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, you need to find the sum of diagonals of a matrix. Problem Statement: You are given a 2D square matrix, you need to find the sum of the diagonals. Example: Input: 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, rotate matrix 180 degree Problem Statement: Given a matrix, rotate matrix 180 degree Example: Input: matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] Output: [[9, 8, 7], [6,… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, check if it is skew symmetric or not Problem Statement: A matrix is called as skew symmetric matrix , whose transpose is negative of the original matrix. i.e if the entry in ith… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Given a matrix, print the boundary elements Problem Statement: You are given a matrix mat[m][n]. You need to print the boundary elements in clockwise, starting from top left element.… Discover More
ProDeveloperTutorialonAugust 24, 2026 Matrix: Check if the matrix is Bisymmetric matrix or not Problem Statement: You are given a matrix, you need to check if the matrix is Bi-symmetric matrix or not. A square matrix is considered as… Discover More