Results 1 to 7 of 7

Thread: 2007 VBA: Cannot figure out recursion to show all possible paths in a 4 x 4 grid.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,709
    Location
    How do you plan to recognize a correct path?

    Sometimes it's easier to start with a possible Path and see if it exists.

    http://gwicks.net/dictionaries.htm

    to avoid reusing a grid Cell
    Dim CellUsed(1 to 4, 1 to 4) As Boolean
    set array Item True when corresponding Grid cell is used
    Last edited by SamT; 09-07-2020 at 09:42 PM.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •