Instructions to run the sample program |
---|
|
Download |
Queens.java Queens.html |
Assignment |
First Part. |
Modify the code
|
Second part |
Solve the touring knights problem as decribed below :
User will specify the dimension N of the chess board and will give a starting position of the Knight on it. The program should move the Knight to unvisited squares until it comes to a position from where it is not possible to move to any unvisited square.
|