Talk:N-queens problem

From Rosetta Code

Is the goal to find one solution, or all solutions? --164.67.235.98 19:59, 12 September 2009 (UTC)

I've put up code to find all solutions; finding just one is a trivial adaptation of that (stop iterating after the first solution is found...) —Donal Fellows 20:37, 12 September 2009 (UTC)