i have a sample algrithm.
suppose the three towers are A,B,C and we move them from A to C by B.
first we suppose an order of A->B->C->A
in the procedure of moving disks ,if the times of moving  are odd, we
move the smallest to the next above order;if  the times are even,we
keep the smallest stay in its tower,and move the smaller disk between
the other two tower.

Reply via email to