File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes printing the combination of all the letters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "printing the combination of all the letters" Watch "printing the combination of all the letters" New topic
Author

printing the combination of all the letters

rachana ravali
Ranch Hand

Joined: Jun 20, 2006
Posts: 32
hi can anybody help me with the program of printing all the combinations of letters in a word ...
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 691
    
    1
Are you asking for help with your program
or for someone to write the program for you?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19958
    
  25

Search for the term "permutation".

One thing though - the number of combinations grows exponentially as you add more (unique) letters. For example, 6 unique characters already gives you 6! = 720 options, and by adding one different letter you already have 7 times as much: 5040.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: printing the combination of all the letters