The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens attack each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. The eight queens puzzle is an example of the more general n-queens problem of placing n queens on an n×n chessboard, where solutions exist for all natural numbers n with the exception of 2 and 3.
Read more about Eight Queens Puzzle: History, Solution Construction, Explicit Solutions, Counting Solutions, Related Problems, Exercise in Algorithm Design, Animation of The Recursive Solution, Sample Program
Famous quotes containing the words queens and/or puzzle:
“The queers of the sixties, like those since, have connived with their repression under a veneer of respectability. Good mannered city queens in suits and pinstripes, so busy establishing themselves, were useless at changing anything.”
—Derek Jarman (b. 1942)
“What are you now? If we could touch one another,
if these our separate entities could come to grips,
clenched like a Chinese puzzle . . . yesterday
I stood in a crowded street that was live with people,
and no one spoke a word, and the morning shone.
Everyone silent, moving. . . . Take my hand. Speak to me.”
—Muriel Rukeyser (19131980)