A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
printing the combination of all the letters
Joined: Jun 20, 2006
Jul 27, 2008 17:14:00
hi can anybody help me with the program of printing all the combinations of letters in a word ...
Joined: Aug 10, 2005
Jul 27, 2008 18:45:00
Are you asking for help with your program
or for someone to write the program for you?
Joined: Oct 27, 2005
Jul 28, 2008 01:55:00
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
I agree. Here's the link:
subject: printing the combination of all the letters
algorithm (k letters combination in a word)
Printing out the combinations of a given string
Odd-Even Number print program
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015