I. Introduction
The N-Queen problem is a classical problem in the field of artificial intelligence [1]. In the game of chess, a queen can move in its row, column, or diagonal from its existing cell both in a forward and in backward direction. The solution to the problem is to place N queens on an N x N chessboard such that no queen is being attacked by another queen. Hence, to determine a valid solution for the N-Queen problem, there should not be two queens in the same row, column, or diagonal. This also means that there should be only one queen in each row, column, and its diagonal in the valid solution.