Tower of Hanoi: Recursion, Stacks & Mathematical Induction
Algorithmic Design: To implement, evaluate, and analyze recursive algorithms using a structural divide-and-conquer framework.Mathematical Verification: To experimentally verify the recurrence relation $T(n) = 2T(n-1) + 1$ and prove that the minimum moves required for $N$ disks equals $2^N - 1$.Data Structures Mapping: To trace call-stack behaviors, memory allocation, and line-by-line program counter execution during active recursion.Constraint Enforcement: To recognize boundary conditions, stack properties (LIFO—Last In, First Out), and prevent mathematical exceptions (stack overflow or rule violations).