N - Queen Problem

There are several problems in Computer Science regarding chess board and N - Queen is one of the most popular problem. In this problem, we have to find a safe board position where N queen can seat without attacking mode. It implies that no two queen share the same row, column, or diagonal. A simple C program is given below that finds a safe board with N queen positions. To know more about the chess board or game rules, please go here: http://en.wikipedia.org/wiki/Eight_queens_puzzle







মন্তব্যসমূহ