Recursion-duplicate character formatting

https://ide.codingblocks.com/#/s/19407
https://hack.codingblocks.com/contests/c/456/335

@phantom 2nd case wrong answer help…

the question link is not opening for me post the question here

in ur code u are just replacing the charater at t+1 pos of ur string which is wrong
Either get the string move by 1 if u find dublicate or use the insert function

ok thanks…

if there is any problem reply i will share the code
Happy Coding!

plz share ur code …

ur code is correct .
declare much higher character array like char a[2000];

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

Hi Nitesh, I tried your code and due to some errors, it is unable to pass all the test cases.
My code is working fine, you can go through it.

I am not getting any test cases passed. But code is providing same output as given in example test case"hello". Please help me out.