Solved n-queen problem using Python programming language.
Python
N-Queens Problem:
The N Queen is the problem of placing N chess queens on an N×N chessboard so that no two queens attack each other. The chess queens can attack in any direction as horizontal, vertical, horizontal and diagonal way.