Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    2,229

    [SOLVED] Re: Algorithm for all possible combinations?

    Looks like a recursive method could do that. Pass it the array of arrays and have it extract one from each sub array and build the output string.
  2. Replies
    8
    Views
    2,229

    [SOLVED] Re: Algorithm for all possible combinations?

    Don't see where the talk of combinations comes from. Here is an example of what I thought combinations could be: Given the letters: A,B,C you would get: ABC, ACB, BAC, BCA, CAB, CBA

    Can you give...
  3. Replies
    8
    Views
    2,229

    [SOLVED] Re: Algorithm for all possible combinations?

    I don't know how to solve the problem then if all the values are unknown.
    All arrays in java are defined with a fixed size. They need not be full, but some how you can determine how many elements...
  4. Replies
    8
    Views
    2,229

    [SOLVED] Re: Algorithm for all possible combinations?

    With a N*M array are there N*M different elements and (N*M)! different combinations?
Results 1 to 4 of 4