Tricky permutations 2 test cases failed

almost all test cases passed only left with two.