View Single Post
Old Jan 20th, 2008, 1:00 PM   #18
mbd
Programmer
 
Join Date: Nov 2007
Posts: 86
Rep Power: 1 mbd is on a distinguished road
Re: Recursive permutation of string

i wanted to tell you about the internals of the c++ next_permutation algorithm because it does some things which the recursive algorithm will not. it recognizes that "aaa" has only identical permutations. i found this article which explains permutations pretty well. i thought you might find it interesting as well.
mbd is offline   Reply With Quote