Not understanding the flow of recursion in given problem

Hello sir,
Problem: Mapped Strings
Problem Link: https://online.codingblocks.com/app/player/276028/content/265891/4947/code-challenge
Solution link: https://ide.codingblocks.com/s/685531

I have the correct solution of the code which I got from the discussion. After the thorough analysis, I still can not get that how count = 2 decreases to count = 1 and then satisfy the condition of if(count<s-1).

Hello @haardpatel07,
Please share the solution for which you are talking about.

I have already shared.
Still, I am posting again if it not works.

Solution link: https://ide.codingblocks.com/s/685531

Regards,
Haard