+ 7
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.
7 Antworten
+ 2
my one in java script https://code.sololearn.com/W1weyLtMw53T/?ref=app
+ 6
Here is one in Python (I assume you meant permutations rather than combinations :) )
https://code.sololearn.com/ckFMwZ7ytWsG/#py
+ 5
Here's my try...
https://code.sololearn.com/cWsY5C4m1Z5M/?ref=app
+ 3
> My Ruby code:
> https://code.sololearn.com/ci2j6dbwHF5e/
+ 1
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.
0
I'll try you challenge, when I get time. ☺
- 1
check this very cool code(almost what's asked):
https://code.sololearn.com/cCY1Wt9adzPq/?ref=app