Re: [OT] Towers of Hanoi with four pegs
Re: [OT] Towers of Hanoi with four pegs
- Subject: Re: [OT] Towers of Hanoi with four pegs
- From: Shaun Wexler <email@hidden>
- Date: Thu, 29 Apr 2004 14:29:43 -0700
On Apr 29, 2004, at 12:15 PM, Eric Czarny wrote:
I know this is slightly off topic, but I couldn't find any place else
to find help. Anyway, for computer science I need to write a recursive
function to solve the Towers of Hanoi with four pegs. However, I have
spent all day working on a solution but can't seem to figure it out.
If any of you have code to solve this problem it would help me out a
great deal as the assignment is due tonight at 11:59:59 EST.
... and you waited until the last minute to start the assignment?!! In
my world, this is called [pardon the expression]: "tripping on your
dick". ;)
Did you try a Google search?
http://www.cut-the-knot.org/recurrence/hanoi.shtml
BTW, this is completely off-topic for this mailing list.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.