21,99 €
inkl. MwSt.

Versandfertig in über 4 Wochen
payback
11 °P sammeln
  • Broschiertes Buch

This book walks the reader through the rules of the n queens puzzle. It then describes various observations about the nature of the problem, creates some new ideas on solving the puzzle, and then shows the new algorithm along with the code to implement the solution. This new approach uses the perimeter rows and columns to create a list of only 108 starting combinations to find all 92 solutions on an 8x8 grid. The grid size can be adjusted from 8x8 to 15x15, where all 2,279,184 solutions are found.

Produktbeschreibung
This book walks the reader through the rules of the n queens puzzle. It then describes various observations about the nature of the problem, creates some new ideas on solving the puzzle, and then shows the new algorithm along with the code to implement the solution. This new approach uses the perimeter rows and columns to create a list of only 108 starting combinations to find all 92 solutions on an 8x8 grid. The grid size can be adjusted from 8x8 to 15x15, where all 2,279,184 solutions are found.