BIT201 ยท 2080 ยท 5 marks
Define recursion. Explain Tower of Hanoi (TOH) with example.
Define recursion. Explain Tower of Hanoi (TOH) with example. [5]
Data Structures and AlgorithmsChapter 5: Recursion and Advanced TechniquesTower of Hanoi algorithm and tracing