Thank you for your comments, I have managed to solve the issue in the meantime, it turns out I had messed up elsewhere in my Stack class. Instead of returning 0 when a stack was empty i had it...
Type: Posts; User: courtenay
Thank you for your comments, I have managed to solve the issue in the meantime, it turns out I had messed up elsewhere in my Stack class. Instead of returning 0 when a stack was empty i had it...
Hi,
I'm working on a towers of hanoi java programming assignment where
there are 3 pegs(stacks) and <n> number of disks.
http://upload.wikimedia.org/wikipedia/commons/0/07/Tower_of_Hanoi.jpeg
...