## Find the number of knight’s attacks in chess board

Given a chess board section of 5×5 size find the number of attacks can be done by knight, where 0 represents empty location and 1 represents occupied location by...

## Find shape in matrix

Given a mtarix of size MxN, filled with 0s and 1s, representing 0 as black and 1 as white. find the number of shapes in it. The shape is...

## Draw circle in Matrix in c

Circle in matrix Given a MxN matrix filled with all 0s. how to draw a circle with given radius and center. The radius will be a positive number and...

## Maximum size square sub-matrix problem

Maximum size square sub-matrix problem, given an input matrix filled with 0 and 1. find the largest square sub-matrix with all 1s. For example 1. The largest square...

## Rat at Maze problem

Given a MxN maze as binary matrix where each block is either 0 or 1. 0 means wall and 1 means entry. A rat starts from source maze and...

## print matrix in wave form

Write a c program to print a given matrix in wave format. for example give a matrix like below. The output should be 1 6 4 7 7...

## sudoku problem solver using recursive backtracking

Sudoku is a number puzzle consisting of a 9 x 9 grid , and rules of filling the grid with numbers ranging from 1 to 9 such that every...

## Traverse matrix in spiral form

Write a c program to print the elements of a 2D array or matrix in spiral order. for example look at the below matrix The output should be 1...

## Zigzag matrix traversing

zigzag matrix traversing Given an square matrix of size NxN , traverse the matrix in zig zag order. for example see the below matrix as input of your program....

## rotate a matrix by 90 degrees

Given an N X M integer matrix, rotate it bye 90 in c clock wise. for example if input matrix is 1 2 3 8 4 5 6 7...