Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: tower-of-honait- Download
 Description: PROGRAMMED BY : REHAN AHMED KHAN PAKISTAN- KARACHI BS student in FAST University (foundation for advancement of science and technology) this program is free ware and anyone can use it. /************************************************************************************************/ /************************************************************************************************* * THE ALGORITHM USED IS AS FOLLOWS * * * * Because the tree is complete it can be stored in an array of 2^n-1. * * The root of the tree is in position 2^(n-1)-1 * * for any level j, the first node at that level is in position 2^(n-1-j)-1 * * and each successive node at that level is 2^(n-j) elements beyond the previous element * * at that level * * So the sequential traversal of the array produces the solution of Towers of Hanoi Problem *
 Downloaders recently: [More information of uploader forghan000]
 To Search:
File list (Check if you may need any files):
tower of honait .cpp
    

CodeBus www.codebus.net