next_permutation in C++ STL - Tutorial
Blog
Discussion