https://ide.codingblocks.com/#/s/18528
my output is coming right but it is giving run error in two test cases.please help me out.in question there is permitted use of STL so i have not use it.
Tricky permutations
nitish just check it increase the size and dont swap when not needed
https://ide.codingblocks.com/#/s/18545
1 Like
thank you it works