Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14126

Tower of Hanoi: original peg

$
0
0

About tower of hanoi, given the current state, how to discover the original peg?

I think I can determine the initial position based on whether or not the max disc has been moved. But I don't know how to tell if the max disc has been moved or not.


Viewing all articles
Browse latest Browse all 14126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>