Could you help me with the code?
You can directly use stl next_permutation.
Link : https://ide.codingblocks.com/s/213269
Hope it Helps.
You can directly use stl next_permutation.
Link : https://ide.codingblocks.com/s/213269
Hope it Helps.