The Tower Of Hanoi problem is perhaps the most frequently asked recursion-based problem in interviews and examinations. Perhaps the most succinct explanation of this problem can be found in Wikipedia here . PROBLEM STATEMENT : A set of n disks are kept on a peg A such that each disk lies on top of a disk larger in size than it.
Programming Concepts And Algorithms: The Tower Of Hanoi
No comments:
Post a Comment