0
Write a code to create tower of hanoi(TOI)
There are three towers, T1, T2, T3. The tower T1 has all the disks of different sizes(n say which will be input by user) in it, They are arranged in ascending order (in size) from top to bottom. PROBLEM STATEMENT : Write a code to transfer all the disk from T1 to T3, placed in similar manner as was on T1 Rules: 1)You cannot place larger disk on smaller disk on any tower. 2)You can use T2 while transferring all disk from T1 to T3.
3 Réponses
+ 6
This is already available as an assignment: https://www.sololearn.com/learn/662/?ref=app
0
I am challenging. It is not a homework assignment. The challenge is to create the code in all other languages apart from C/C++
0
okay. sure