| | |
Tower Of Hanoi
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
>Can anyone tell me the complete algorithm analysis of Tower of Hanoi
Sure:
Sure:
C++ Syntax (Toggle Plain Text)
#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 because I'm a cheating slacker"<<endl; }
I'm here to prove you wrong.
Whoa! Let's not be this rude please folks. I did a google search for towers of hanoi and a bunch of informative links came up:
http://www.cut-the-knot.org/recurrence/hanoi.shtml
http://mathforum.org/dr.math/faq/faq.tower.hanoi.html
They should answer your question.
http://www.cut-the-knot.org/recurrence/hanoi.shtml
http://mathforum.org/dr.math/faq/faq.tower.hanoi.html
They should answer your question.
just trying to make people think for themselves Dani... There's way too much "I don't want to think, I just want a canned solution so I won't fail my test" attitude these days.
If those people graduate without writing code they'll become problems for us as colleagues and we'll end up with more work as we'll have to do their work as well leading to unpaid overtime, missed deadlines, etc. etc.
If those people graduate without writing code they'll become problems for us as colleagues and we'll end up with more work as we'll have to do their work as well leading to unpaid overtime, missed deadlines, etc. etc.
![]() |
Similar Threads
- Code Snippet: Tower Of Hanoi ( Graphical Illustration ) (C)
- Solving Towers of Hanoi (C++)
- Question on my code in tower of hanoi (Assembly)
Other Threads in the C++ Forum
- Previous Thread: Need help with recursion and arrays
- Next Thread: How to be Crash Free
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






