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)
“My good friend, quoth Ias sure as I am Iand you are you
And who are you? said he.Dont puzzle me; said I.”
—Laurence Sterne (17131768)