Test Cases giving wrong asnwer

When I am trying my code with custom input it is giving correct answer and in the same format as specified but on submitting it is giving wrong answer , kindly rectify.

LInk to my Code- https://ide.codingblocks.com/s/194764

@7nishit hey nishit you’re making a wrong in the main the right call is towerOfHanoi(n,src,help,dest);

Is your doubt resolved?

Can you please explain the reason of calling towerOfHanoi(n,src,help,dest)

Understood, B is the destination and not C, thanks