On Sat, Feb 14, 2015 at 3:27 PM, Roelof Wobben <r.wobben@home.nl> wrote:
KC schreef op 14-2-2015 om 22:23:
Hint:
- think about what you need to do in each recursive step and in the base case
- there is also an interesting way of viewing the problem
Check if I can do another step or check if the end case all disk are on the last peg.
Im very curious what the interesting way is
I suspect it's the iterative version that was already mentioned here. You were close to discovering it when worked through the problem on paper.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners