⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Text Elements
TOH - Tower of Hanoi
TOH- Initial call n = 3 toh(3, A, C, B)
A , C , B ^3TEEuqEr
n = 1 A, C, B toh1(1, a, c, b)
n=2 A, B, C toh1(2, a, b, c)
n = 2
console log
toh2(1, B, C, A)
toh(0) return
toh1
console.log
toh2
toh(0)
Disk 1 From A to C
Embedded files
7f9a60a7b23487d7ae8163d58a1143eea5c9bfce: Pasted Image 20221219165151_490.png