Can anyone tell me the complete algorithm analysis of Tower of Hanoi for n pegs and n disks.I really need it :sad:
harshchandra -3
Junior Poster in Training
Recommended Answers
Jump to Post>Can anyone tell me the complete algorithm analysis of Tower of Hanoi
Sure:#include <iostream> using namespace std; int main() { cout<<"I'm too lazy to do my own work\n"; cout<<"I'm too stupid to realize that nobody will do my work for me\n"; cout<<"I'll never amount to anything …
Jump to Postwow... i think i found a site for your "analysis"
Jump to PostI went into Google and typed
algorithm analysis of Tower of Hanoi
and it came right up with a bunch of interesting sites.
All 9 Replies
Narue 5,707
Bad Cop Team Colleague
phr0stbyt3 0
Newbie Poster
Chainsaw 12
Posting Pro in Training
jwenting 1,889
duckman Team Colleague
Dani 4,084
The Queen of DaniWeb Administrator Featured Poster Premium Member
Chainsaw 12
Posting Pro in Training
jwenting 1,889
duckman Team Colleague
Dani 4,084
The Queen of DaniWeb Administrator Featured Poster Premium Member
harshchandra -3
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.