File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
Printing all string combinations for given string
nandu kishore
Greenhorn
Joined: Sep 26, 2008
Posts: 2
posted
Sep 27, 2008 00:18:00
0
Hi,
I want to print all
string
combinations like
for ABC
I have to print like ...
ABC
ACB
BCA
BAC
CAB
CBA
---- total 6 combinations
If it is ABCD -- total 24 combinations
User may enter string length of n chars. It should print all combinatins.
Thanks in advance
Regards,
Kishore
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35230
7
posted
Sep 27, 2008 00:47:00
0
Please do not post the same question to multiple forums:
CarefullyChooseOneForum
Let's continue the discussion in this
duplicate thread
. It has been moved to a more appropriate forum, because it had nothing to do with
servlets
.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://aspose.com/file-tools
subject: Printing all string combinations for given string
Similar Threads
permutations
printing in table format using logic:iterate and bean:write
All possible combinations of the elements in the string array
Printing all string combinations
Printing out the combinations of a given string
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter