Shubhanshu-1507 / Sourcecode

Hacktoberfest2024
GNU General Public License v3.0
5 stars 65 forks source link

Proposal : Implementing N Queen Problem | Return all Distinct Solutions to the N-Queens Puzzle #192

Open AbhijitMotekar99 opened 10 hours ago

AbhijitMotekar99 commented 10 hours ago

Problem Statement: The n-queens is the problem of placing n queens on n × n chessboard such that no two queens can attack each other. Given an integer n, return all distinct solutions to the n -queens puzzle. Each solution contains a distinct boards configuration of the queen's placement, where ‘Q’ and ‘.’ indicate queen and empty space respectively.

Screenshot 2024-10-02 191712