Talk:Towers of Hanoi: Difference between revisions

no edit summary
No edit summary
Line 80:
 
(Some people might feel they should object to this remapping of results as inefficient, but this remapping does not make a difference to the [[wp:Big O notation|big O]] efficiency, and in practice should be a [[wiki:PrematureOptimization|minor concern]].)
 
 
== A bunch of sample codes are buggy ==
The bug is that they print ndisk, which is the number of remaining disks to be moved, as if it was the index of the disk to be moved.
Can someone correct these bugs?
Anonymous user