, , , , , ,

[SOLVED] Cs211 eight numbers in a cross

$25

File Name: Cs211_eight_numbers_in_a_cross.zip
File Size: 282.6 KB

Categories: , , , , , , Tags: , , , , , ,
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.

Shopping Cart
[SOLVED] Cs211 eight numbers in a cross
$25