Hanoi executing
Hanoi executing. 0. 1. Hanoi(2,a,c,b). Hanoi(3,a,b,c). move (a,3,c). Hanoi(2,b,a,c). 0. 1. Hanoi(2,a,c,b). Hanoi(3,a,b,c). move (a,3,c). Hanoi(2,b,a,c). 2. Hanoi(1,a,b,c). move(a,2,b). Hanoi(1,c,a,b). 0. 1. 2. Hanoi(1,a,b,c). Hanoi(2,a,c,b). move(a,2,b). Hanoi(1,c,a,b).
706 views • 61 slides