I think i have written correct code… why it is showing wrong answer
What's wrong here
In the question it is mentioned that ‘C’ is the helper.
So change line 22 to tower_of_henoi(n,‘A’,‘C’,‘B’); and then check
I think i have written correct code… why it is showing wrong answer
In the question it is mentioned that ‘C’ is the helper.
So change line 22 to tower_of_henoi(n,‘A’,‘C’,‘B’); and then check