Search:

Type: Posts; User: tgw46366

Search: Search took 0.10 seconds.

  1. Re: Something wrong with my Knight's Tour solution

    It assigns 33 to (1, 3). In that spot is a -1 which must mean that it did not work out (The recursive call returned false). So instead of subtracting 1 from the kthMove it moved on straight to 34?...
  2. Re: Something wrong with my Knight's Tour solution

    Thanks for the tip!

    Also, the first number to be missing appears to be 33. It goes straight from 32 to 34. I added a print statement for the kthMove to see how it is throughout the the recursive...
  3. Re: Something wrong with my Knight's Tour solution

    Sure Thing. Sorry for not posting it earlier. The output for the input position (0,0) is:


    1 24 3 26 5 28 7 30
    -1 17 40 -1 42 ...
  4. Something wrong with my Knight's Tour solution

    I am required to make a recursive backtracking solution to the Knight's Tour problem using and 8x8 board and a starting location which is manually picked. I believe the problem lies in the recursive...
  5. Replies
    1
    Views
    708

    Hello Everybody!

    My name is Tyler and i am enrolled in a State University of Pennsylvania for Computer Science and Mathematics. :D I absolutely love to learn and program
Results 1 to 5 of 5