Given 2 integers M and N, the task is to find the count of all the possible paths from top left to the bottom right… Read More
Category Archives: Matrix
Given a square matrix mat[][] of dimension N and an integer K, the task is to rotate the matrix by 90 degrees K times without… Read More
Given a square matrix mat[][] of dimension N and an integer K, the task is to rotate the matrix by 90 degrees K times without… Read More
Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More
Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More
Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More
Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More
Introduction to Identity Matrix : The dictionary definition of an Identity Matrix is a square matrix in which all the elements of the principal or… Read More
Given a 2D array of size M * N. The task is to find the minimum number of hint required to pick the correct position… Read More
Given an integer N, the task is to generate a matrix of dimensions N x N using positive integers from the range [1, N] such… Read More
Given an integer N, the task is to generate a matrix of dimensions N x N using positive integers from the range [1, N] such… Read More
Given an integer N, the task is to generate a matrix of dimensions N x N using positive integers from the range [1, N] such… Read More
Given an integer N, the task is to generate a matrix of dimensions N x N using positive integers from the range [1, N] such… Read More
Given an M*N grid, and given an array startPos[], indicating that the starting position is the cell (startPos[0], startPos[1]) and the array homePos[] indicating its… Read More
Given a 2D array of size M * N and two points in the form (X1, Y1) and (X2 , Y2) where X1 and X2… Read More