Skip to content

smtp10185/nextf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Write a function that returns all distinct solutions to the 8-queens puzzle.

Each solution contains a distinct board configuration of the 8-queens' placement, where 'Q' and '.' both indicate a queen and an empty space respectively.


Example solution for 4-queen puzzle Output:

// Solution 1 .Q..
...Q Q... ..Q.

// Solution 2 ..Q. Q... ...Q .Q..


執行方式: dart run main.dart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages