05-27-2018 05:19 AM
Good afternoon!
Does anyone know the source of the variant of Tower of Hanoi attached? I searched it on the Internet and I don't find it anymore...
05-27-2018 09:16 AM
I don't (quite) understand the question. You are showing the "Classic" Tower of Hanoi problem, but with only three disks (represented by the numbers 1, 2, and 3). The rules are the same -- you have N disks and three pegs. The disks start out all placed on, say, Peg 1, and the task is to move them all to, say, Peg 2, subject to the following rules:
The Solution is a classic example of Recursion.
Bob Schor
05-29-2018 10:42 PM
In what way does your question have anything to do with NI? While the breakpoint is for offtopic discussions, you must have a reason to ask on this site?
Are you trying to implement it in LabVIEW, for example? Are you looking for this?