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
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
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