Matrix Data Structure is a two-dimensional array arranged in rows and columns. It is commonly used to represent mathematical matrices and is fundamental in various fields like mathematics, computer graphics, and data processing. Matrices allow for efficient storage and manipulation of data in a structured format.
Matrix Data Structure
Basic Operations on Matrix
Easy problems on Matrix
Print matrix in zig-zag fashion
Program for scalar multiplication of a matrix
Print a given matrix in spiral form
Find distinct elements common to all rows of a matrix
Find unique elements in a matrix
Find maximum element of each row in a matrix
Shift matrix elements row-wise by k
Swap major and minor diagonals of a square matrix
Squares of Matrix Diagonal Elements
Sum of middle row and column in Matrix
Program to check idempotent matrix
Program to check diagonal matrix and scalar matrix
Program for Identity Matrix
Mirror of matrix across diagonal
Program for addition of two matrices
Program for subtraction of matrices
Intermediate problems on Matrix
Program for Conway's Game Of Life
Program to multiply two matrices
Rotate a matrix by 90 degree without using any extra space | Set 2
Check if all rows of a matrix are circular rotations of each other
Given a matrix of 'O' and 'X', find the largest subsquare surrounded by 'X'
Count zeros in a row wise and column wise sorted matrix
Queries in a Matrix
Find pairs with given sum such that elements of pair are in different rows
Find all permuted rows of a given row in a matrix
Find number of transformation to make two Matrix Equal
Inplace (Fixed space) M x N size matrix transpose
Minimum flip required to make Binary Matrix symmetric
Magic Square | ODD Order
Hard problems on Matrix
Find the number of islands using DFS
A Boolean Matrix Question
Matrix Chain Multiplication | DP-8
Maximum size rectangle binary sub-matrix with all 1s
Construct Ancestor Matrix from a Given Binary Tree
Print K'th element in spiral form of matrix
Find size of the largest '+' formed by all ones in a binary matrix
Shortest path in a Binary Maze
Print maximum sum square sub-matrix of given size
Validity of a given Tic-Tac-Toe board configuration
Minimum Initial Points to Reach Destination
Program for Sudoku Generator