Tricky permutation backtracking


i am getting no output

Hello @AjayRRJ,

Have you posted the same doubt again?
I have corrected your code:

Hope, this would help.