Re: [algogeeks] Next_Permutation Algorithm

2010-07-13 Thread Amir hossein Shahriari
this has been discussed before :* *lexicographically next string -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubsc

Re: [algogeeks] Next_Permutation Algorithm

2010-07-13 Thread srikanth sg
1)start from right till u can a[i] wrote: > Given a number line 1734, how to return the next higher permutation of > its digits. > > Can anybody tell me its algorithm, i know there is a function in C++ > stl to do this. > > -- > You received this message because you are subscribed to the Google

[algogeeks] Next_Permutation Algorithm

2010-07-13 Thread amit
Given a number line 1734, how to return the next higher permutation of its digits. Can anybody tell me its algorithm, i know there is a function in C++ stl to do this. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, se