Hi,everyone i am new here,and i know very little about programming,and that is why i need your help.
I need "Letter Combinations Program":for example we have 12 letters,and we need to make as manu as possible 5 letter words(each letter is used only once),and words can be meaningfull and unmeaningfull,which means that i need all combinations.How many combinations are there in this example an can some program be made in which these 12 letters are typed in and then the program list all possible 5 letter words(without repeating the same letter twice)?
You have any code to show us or are you wanting to hire someone?
P(12,5) = 95040
I'd recommend a recursive program to construct the list.
f(word so far, chars avail, chars to add) might be the skeleton of the recursive function call.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks