22nd Oct : Write a function in JAVA to achieve below functionality
vibrantachintya opened this issue · comments
Add a new file named - '22ndOct.java' in JAVA folder.
"Permutations of a String".
Write an efficient algorithm that prints all possible permutations of a string. This function has the following properties:
- You can't repeat any character in a string.
- You can take string as parameter to function.
Input :
ABC
ABSG
Output :
ABC ACB BAC BCA CAB CBA
ABGS ABSG AGBS AGSB ASBG ASGB BAGS BASG BGAS BGSA BSAG BSGA GABS GASB GBAS GBSA GSAB GSBA SABG SAGB SBAG SBGA SGAB SGBA
We will assign issues after reviewing your profile, not like if you comment first you will get automatically assigned. Do mention your college as well, we have some college specific communities.
Make sure submit by EoD. Do attach screenshots of output!
If someone has already submitted the file with name '22ndOct.java', take new pull and submit another file like '22ndOct-2.java', '22ndOct-3.java' and so on.
We are creating a community of open source enthusiasts, we will be making top FOSSs in future, funded by Twowaits Technologies, if you wish to learn be part join our Telegram Channel here.
hi @vibrantachintya sir, i want to solve this problem.
college:- GNIOT
I would like to try this
i would like to try this
college:-Thadomal Shahani Engineering College(mumbai)