in reply to permutations of all number in a given set

The actual question you ask doesn't seem to have anything to do with your having arrays of arrays; maybe you'd find it easier to think of how to go about it by solving the problem for a simple array and then extending it to your array of arrays.
  • Comment on Re: permutations of all number in a given set