Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course explains the Tower of Hanoi puzzle, its recursive solution for three, four, and n disks, and its implementation in Python. It also analyzes the algorithm’s time and space complexity.
Syllabus
Agenda for Tower of Hanoi.
Tower of Hanoi Introduction.
Tower of Hanoi for n Disks.
Tower of Hanoi for 3 Disks.
Tower of Hanoi for 4 Disks.
Tower of Hanoi using recursion.
Tower of Hanoi in Python - Codes.
Complexity Analysis of Tower of Hanoi.
Summary.
Taught by
Great Learning