Guys,
I have a question regarding the use of STL next permutation algorithm
say I have a vector a[] = [ 52 3 4 2 49]
How do I use the next_permutation algorithm for only the last 3 elements (in this case 4 2 and 49) and store those in a different array?
Any help would be appreciated, please let me know if you need more information.