Search:

Type: Posts; User: Parranoia

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    2,083

    Re: LAST issue! Random permutation array!

    Something like


    x[i] = y;
  2. Replies
    4
    Views
    2,083

    Re: LAST issue! Random permutation array!

    In your nextPermutation() method, you are never adding the values from the for loop to your int array. So you are just creating a new array and passing on that empty array, which would contain all 0s
Results 1 to 2 of 2