ProDeveloperTutorialonAugust 26, 2026 Matrix: Given a matrix, count the number of sorted rows Problem Statement: You are given a 2D matrix of size [n * m]. You need to count all the rows in a matrix that are sorted in either increasing… Discover More
ProDeveloperTutorialonAugust 26, 2026 Matrix: Find common elements in all rows of a given matrix Problem Statement: You are given a 2D matrix of size n * m. You need to find all the common elements present in all rows. Example: Input: 1 2… Discover More
ProDeveloperTutorialonAugust 26, 2026 Matrix: Given a matrix, check if it is orthogonal or not Problem Statement: You are given a matrix, you need to check if it is orthogonal or not. A matrix is considered as orthogonal, when we… Discover More
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