Skip to content

pradipbhatt/Recursion_DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Recursion_DSA

*This repo is For Recursion Hanoi program
This C program uses a recursive function to solve the Tower of Hanoi. The tower of hanoi is a mathematical puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto any rod. Puzzle begins with all disks stacked on one rod in decreasing order and the task is to move all these disks on some other rod obeying the following rules.

*Only one disk may be moved at a time.
*Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack or on an empty rod.
*No disk may be placed on top of a disk that is smaller than it.

About

This repo is For Recursion Hanoi program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages