• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Permuation

 
Devere Dyett
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a recursive permutation program. Does anyone have a clue?
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking for a definition or a sample assignment?
 
Devere Dyett
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is an example assignment. sample code (in C, but it might give you the general idea). Another source of info
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic