# Category Archives: Matrix

Given an NÃ—N matrix mat[][] and an integer K, the task is to search K in mat[][] and if found return its indices. Examples: Input:â€¦ Read More
Given a matrix of size N * N containing only 0s and 1s, where 0 represents white and 1 represents black. The task is toâ€¦ Read More
Given a matrix mat of N*N (N is a perfect square|) and two points x and y, the task is to return all the elements of theâ€¦ Read More
Given a binary matrix Mat[][] of size N*N, the task is to find the minimum number of flips to be performed such that the matrixâ€¦ Read More
A Data Structure organizes and stores data in a computer so that we can perform operations on the data more efficiently. There are many diverseâ€¦ Read More
Given two numbers M and N denoting the number of rows and columns of a matrix A[] where A[i][j] is the sum of i andâ€¦ Read More
Consider a series of buildings in a 2-D square plot with different heights and only those buildings are chargeable that have a clear and straightâ€¦ Read More
Given a matrix mat[][] of size N*M and the destination (x, y) to be reached from (0, 0), the task is to find if youâ€¦ Read More
Given two integers N and M denoting a matrix of size N*M, the task is to form a matrix following the below criteria and makeâ€¦ Read More
Given an N*M matrix Mat[][] containing all distinct integers, the task is to find the minimum area of the matrix (r*c, where 1 â‰¤ râ€¦ Read More
Given a 2D matrix of size N x M and Q queries where each query represents a coordinate (x, y) of the matrix, the taskâ€¦ Read More
A Two Dimensional array of pointers is an array that has variables of pointer type. This means that the variables stored in the 2D arrayâ€¦ Read More
Given a two-dimensional integer array arr[ ][ ], return all the adjacent elements of a particular integer whose position is given as (x, y). Adjacentâ€¦ Read More
Hadamard matrix is a square matrix with the unique property that any two of its rows are orthogonal. In geometric terms that means that theâ€¦ Read More
Given an array A[], the task is to find the circulant matrix made by this array.  A circulant matrix is a square matrix of orderâ€¦ Read More