KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
next_permutation is a C++ function which gives the lexicographically next permutation of a string. Details about its implementation can be obtained from this really awesome post. http://wordaligned.org/articles/next-permutation Is anyone aware of a similar implementation in Python? Is there a direct python equivalent for STL iterators?
Tags (comma-separated)
Save Edits
Cancel