https://ide.codingblocks.com/s/57926
https://online.codingblocks.com/player/14796/content/5072
please tell whats wrong here only one test case failing
Tricky Permuations
Hi Kushagra, consider the following input:
ABCDEFGI
The output should have all permutations like IGFEDCAB, IGFEDCBA etc. but your code gives permutations starting only with AB.
no mam its actually giving a lot of permutations = 8! IGFEDCAB are also included
It is giving only 122 permutations when I run it on ide.codingblocks.com or online.codingblocks.com.
Mam i increased the size of bool array and it got accepted but is my logic correct