My code is not giving correct output. Kindly correct my code highlighting my mistakes. Thanks.
Recursion -Dictionary Order (Larger)
first you have to generate all the permutation in correct way
you are not generating permutation correctly
another big mistake is you are passing vector by value
you have to pass it by reference so that you get your output in main() also
i have done many modification in your code
plz check once and if you have any problem or doubt at any line
feel free to ask
Modified Code
Thanks a lot 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.