sir the code shows four test cases failed. please help.
Tricky permutations
Hi @DJ20001,
instead of taking vector v, try using sets since it store non duplicate elements. In ur code, some elements are getting printed more than once.
U can try for running ur on ‘ABCA’ .
Hope this resolve ur doubt.
sir I am still not getting the solution. please help.
Can u pls share ur updated code.
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.