Recursion duplicate char formatting

https://online.codingblocks.com/app/player/127473/content/109927/4873/code-challenge
https://ide.geeksforgeeks.org/9oOrI3YP2h
code working fine in ide but failing all testacses

hello @anitagupta1411
image
put this after base case and then try