CS211 Eight Numbers in a Cross solution

$25.00

Original Work ?

Download Details:

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

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

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.