Tricky Permutations - Hackerblocks

https://ide.codingblocks.com/s/61454

https://hack.codingblocks.com/contests/c/537/737

7 test cases passing . Last two test cases showing run-error

Hi Tarun, just increase the size of array at line number 8 because string of greater lengths have permutations greater than 10000.
I’ve done it here and now it’s passing all the testcases.
https://ide.codingblocks.com/s/61665

1 Like