CS211 Eight Numbers in a Cross

$30.00

Download Details:

  • Name: Eight-Numbers-in-a-cross-oneszr.zip
  • Type: zip
  • Size: 4.90 KB

Category:

Description

5/5 - (1 vote)

In the solution to this problem, use the backtracking scheme that we covered in class.
Write a program which allocates the integers 1-8 to the squares in the figure above, subject to
the restrictions that no two adjacent squares contain consecutive integers.
By adjacent we mean vertically, horizontally, or diagonally.