aspose file tools*
The moose likes Beginning Java and the fly likes Permuation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Permuation" Watch "Permuation" New topic
Author

Permuation

Devere Dyett
Greenhorn

Joined: Feb 17, 2002
Posts: 5
I need a recursive permutation program. Does anyone have a clue?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
Are you asking for a definition or a sample assignment?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Devere Dyett
Greenhorn

Joined: Feb 17, 2002
Posts: 5
I'm asking for a sample assignment. I have no idea how to write it. I know the base case but that's it. The base case resides in the fact the the permutation of a letter is the letter. After that I'm lost.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
Here is an example assignment. sample code (in C, but it might give you the general idea). Another source of info
 
jQuery in Action, 2nd edition
 
subject: Permuation