Click here to Skip to main content
15,943,477 members
Please Sign up or sign in to vote.
1.00/5 (6 votes)
See more:
How Do I Solve An N Queen Problem Easily?
Posted
Comments
Matt T Heffron 15-May-15 19:22pm    
What have you tried?
You tagged this as "Design" so what are the difficulties you're having with your design?
We won't just do it for you.
PIEBALDconsult 15-May-15 20:15pm    
A search here on CodeProject will find several articles on the subject.
http://www.codeproject.com/search.aspx?q=queens&doctypeid=1
http://en.wikipedia.org/wiki/Eight_queens_puzzle
Afzaal Ahmad Zeeshan 15-May-15 20:22pm    
Why don't you simply just read the algorithm? Read here.
PIEBALDconsult 15-May-15 20:30pm    
Oh my, what a horrible algorithm.
Afzaal Ahmad Zeeshan 15-May-15 20:33pm    
I would have posted a solution if the algorithm was simple enough. :D

Soooo, I thought asking the OP would be a quick one though. ;-)

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900