## Minimum changes needed to make a 3*3 matrix magic square

Given a 3*3 matrix, find the minimum number of changes that need to be made to it in order to turn it into a magic… Read More »

Given a 3*3 matrix, find the minimum number of changes that need to be made to it in order to turn it into a magic… Read More »

Given a N x N matrix where value at cell (i, j) is the cost of moving from a cell (i, j) to cell (i… Read More »

In computing, row-major order and column-major order are methods for storing multidimensional arrays in linear storage such as random access memory. The two mentioned ways… Read More »

There were a total of 3 rounds. 1st was online coding, 2nd was written coding and last round was divided in three parts, basically 3… Read More »

Given a N x N binary matrix. The problem is finding the maximum area sub-matrix having a count of 1’s one more than count of… Read More »

Given a number N, place numbers from the range [1, N2] in an NxN matrix such that sum in every row is equal. Examples: Input:… Read More »

Given a matrix, the task is to construct a linked list matrix in which each node is connected to its right and down node. Example:… Read More »

Given a number N, the task is to print the following pattern:- Examples: Input : N = 4 Output : 4 4 4 4 4… Read More »

Given a directed graph having n nodes. For each node, delete all the outgoing edges except the outgoing edge with minimum weight. Apply this deletion… Read More »

Given N rows with M elements each and an array arr[] of L numbers, the task is to print the count of elements of that… Read More »

A Matrix series is defined as follows: M, MT, M(MT), M(MT)2, M2(MT)3, M3(MT)5, M5(MT)8 . . . . . . . ., where M is a… Read More »

Given two integers and , where . Find the maximum number of one’s in a binary matrix can have such that every sub-matrix of size… Read More »

Given an N x M grid. The task is to find the minimum product of four adjacent numbers in the same direction (up, down, left,… Read More »

Given a grid with different colors in a different cell, each color represented by a different number. The task is to find out the largest… Read More »

Given a Sudoku Board configuration, check whether it is valid or not. Examples: Input: [5 3 – – 7 – – – -] [6 -… Read More »