jkavart Feb 13th, 2018 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- loadIn(n-1)//takes n-1 S->A3
- n S->A2
- Hanoi(backwards, n-1)// the code he gave us, n-1 A3->A1
- n A2->D
- loadOut(n-1)//takes n-1 A1->D
RAW Paste Data