Dictionary    Maps    Thesaurus    Translate    Advanced >   


Tip: Click Thesaurus above for synonyms. Also, follow synonym links within the dictionary to find definitions from other sources.

1. The Free On-line Dictionary of Computing (30 December 2018)
eight queens puzzle
8 queens problem
8 queens puzzle
eight queens problem

    A puzzle in which one has to place eight queens on
   a chessboard such that no queen is attacking any other,
   i.e. no two queens occupy the same row, column or diagonal.
   One may have to produce all possible such configurations or
   just one.

   It is a common students assignment to devise a program to
   solve the eight queens puzzle.  The brute force algorithm
   tries all 64*63*62*61*60*59*58*57 = 178,462,987,637,760
   possible layouts of eight pieces on a chessboard to see which
   ones meet the criterion.  More intelligent algorithms use the
   fact that there are only ten positions for the first queen
   that are not reflections of each other, and that the first
   queen leaves at most 42 safe squares, giving only
   10*42*41*40*39*38*37*36 = 1,359,707,731,200 layouts to try,
   and so on.

   The puzzle may be varied with different number of pieces and
   different size boards.

   [Best algorithm?]

   (1999-07-28)


Common Misspellings >
Most Popular Searches: Define Misanthrope, Define Pulchritudinous, Define Happy, Define Veracity, Define Cornucopia, Define Almuerzo, Define Atresic, Define URL, Definitions Of Words, Definition Of Get Up, Definition Of Quid Pro Quo, Definition Of Irreconcilable Differences, Definition Of Word, Synonyms of Repetitive, Synonym Dictionary, Synonym Antonyms. See our main index and map index for more details.

©2011-2024 ZebraWords.com - Define Yourself - The Search for Meanings and Meaning Means I Mean. All content subject to terms and conditions as set out here. Contact Us, peruse our Privacy Policy