Why i am not getting the exact output please tell the mistake in my code

Hello @anshulgurawalia last call should from helper to destination.
corrected code:

but in my case helper is b and destination is c and a is the source so i made last call
move( n-1, b, a ,c)
please tell why you change it to move(n-1, c , b ,a )

@anshulgurawalia because in your first call you are treating a as source and c as helper and then b as the destination.
so you are mixing both the things.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.