It generates all possible permutations. That is not what i want. Just the next permutation which is lexicographically higher. Any ideas or just the algorithm to perform the same
On Aug 2, 4:15 pm, DK <[email protected]> wrote: > http://marknelson.us/2002/03/01/next-permutation/ > will give you an answer. > (It's the best reference on that function on the internet) > > -- > DK > > http://gplus.to/divyekapoorhttp://twitter.com/divyekapoorhttp://www.divye.in -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
