Jav G-queen 🔥 🎉

The N-Queens problem is a classic backtracking problem in computer science, where the goal is to place N queens on an NxN chessboard such that no two queens attack each other.