What is the first step in the Tower of Hanoi recursive algorithm?
A. Move the top n disks from needle 1 to needle 2, using needle 3 as the intermediate needle.
B. Move disk number n from needle 1 to needle 3.
C. Move the top n - 1 disks from needle 2 to needle 3, using needle 1 as the intermediate needle.
D. Move the top n - 1 disks from needle 1 to needle 2, using needle 3 as the intermediate needle.
Answer: D
You might also like to view...
What are page orientation and scaling, and how can they be used in tandem to allow you to efficiently print a professional-lookingworksheet?
What will be an ideal response?
Which standard, developed by Citrix, is used with a remote terminal connection?
A. RDP B. SIP C. RDC D. ICA
What type of network deployment is the most fault tolerant?
A. Ring B. Mesh C. Star D. Bus
The lower the screen resolution, the sharper the text and images appear on a monitor.?
Answer the following statement true (T) or false (F)