In the cpp files, there are two algorithms, one with recursion and another one with a loop. It is important to note that for the recusion algorithm inorder to compute 100th fibonacci number, it would take approximately 586,000 years for a computer of 1 GHZ processor. We cannot wait for 56000 YEARS ,RIGHT !!!... So, the other algorithm with the loop will execute in mere seconds...So it is important to study algorithms so that you can save huge amount of TIME.............
-
Notifications
You must be signed in to change notification settings - Fork 0
abdullah-ch/Why-study-Algorithms
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published