## Maximum non-attacking Knights that can be placed on an N*M Chessboard

Given an N*M chessboard. The task is to find the maximum number of knights that can be placed on the given chessboard such that no… Read More »

Given an N*M chessboard. The task is to find the maximum number of knights that can be placed on the given chessboard such that no… Read More »

Given the position of the king on an 8 X 8 chessboard, the task is to count the total number of squares that can be… Read More »

Given the position of the queen (qX, qY) and the opponent (oX, oY) on a chessboard. The task is to determine whether the queen can… Read More »

There is a 8*8 chessboard and two chess players having a single pawn each. A player has to move his pawn in each turn, either… Read More »

Given the position of a Bishop on an 8 * 8 chessboard, the task is to count the total number of squares that can be… Read More »

Given the position of a Bishop and a Pawn on a 8 * 8 chessboard, the task is to check whether the Bishop can take… Read More »

Given an integer M, an 8 * 8 chessboard and the king is placed on one of the square of the chessboard. Let the coordinate… Read More »

Given an integer n, the task is to print the maximum number of bishops that can be placed on a n x n chessboard so… Read More »

Given four integers sourceX, sourceY, destinationX and destinationY which represent the source and destination coordinates on a chessboard. The task is to find the minimum… Read More »

Given integers i, j, k and n where (i, j) is the initial position of the Knight on a n * n chessboard, the task… Read More »

Given integers M, N and K, the task is to place K knights on an M*N chessboard such that they don’t attack each other. The… Read More »

Given a NXN chessboard. The task is to check if the given chessboard is valid or not. A chess board is considered valid if every… Read More »

Given a square chessboard of N x N size, the position of Knight and position of a target is given, the task is to find… Read More »

Given n, of a n x n chessboard, find the proper placement of queens on chessboard. Previous Approach : N Queen Recommended: Please try your… Read More »

Given a chess board of dimension m * n. Find number of possible moves where knight can be moved on a chessboard from given position.… Read More »