Ok let`s say we have an array
string like this:
String[] elements = {"a", "b", "c",...};
All I want is to generate all possible combinations (including also "aa...a","aa...b", etc).
I also run the code posted here
here by Sai Narasimha Reddy but the combinations like aa, bb, .....ccb, ccc are not generated.
I tried another permutations and combinations that I found but none of them don`t generate all combinations (such as "aa...a","aa...b",...)
Please help and thanks in advance.