Tricky permutations - not getting idea to apply backtracking

@abhishek_trigunait - I am not getting how i can apply backtracking here .