Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Conversation

@aryanayush012
Copy link

Tower of Hanoi #98

in this approach we use recursion and take the help of the auxilary rod to move all the discs from
one rod to another
our refrenced auxilary rod changes everytime and we call the function recursively.

Time complexity: O(2^N)
Auxiliary Space: O(N)

image

@s-ayush2903
Copy link
Contributor

@aryanayush012 Can you synchronize this branch with master so that this PR can be merged.

@stale
Copy link

stale bot commented Oct 8, 2022

It will be now be reviewed manually. Thanks for contributions. If you have more concerns, you may get the conversation started at our discord server

@stale stale bot added the community label Oct 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants