Coding Challenge :: Combinations
Enter a word and print all its combinations Example : - Input - CAT Output - CAT CTA ACT ATC TCA TAC Enjoy coding !!! 😎😎😎 Important Note : Solutions in Java would be highly appreciated.
my one in java script https://code.sololearn.com/W1weyLtMw53T/?ref=app
Here's my try... https://code.sololearn.com/cWsY5C4m1Z5M/?ref=app
> My Ruby code: > https://code.sololearn.com/ci2j6dbwHF5e/
Your question is incorrect, you want to find the combination but in your example you have found permutation. There is only one combination, in this case.
I'll try you challenge, when I get time. ☺
check this very cool code(almost what's asked): https://code.sololearn.com/cCY1Wt9adzPq/?ref=app