There is no such function inbuilt in Java. But you can write one easily..
and save it for reference for these type of contests. You may wanna look at
this, http://forums.sun.com/thread.jspa?threadID=389012&tstart=85500 , the
class 'Perm' in one of the posts, implements it neatly.
Cheers,

- AK

On Sun, Sep 13, 2009 at 1:57 AM, Ahmed Medhat <[email protected]> wrote:

> Hello every one,
> any one know what is the equivalent function to next_permutation() in Java
>
> --
> Kind Regards,
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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/google-code?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to