|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
ABSTRACT
The advantages and disadvantages of recursion are early introduced to students. Simplicity in coding but time and space inefficiency during execution are the main characteristics. In many occasions, recursive formulae lead to recursive functions/procedures that are highly inefficient as calls with the same parameters are executed several times. Here, we elaborate on a previous report [2], where a generalized analysis is carried out to derive the number of recursive calls of a recursive formula, the calculation of the Fibonacci numbers in particular. Here we re-examine the problem using a different and simpler approach, which generalizes as well. REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
INDEX TERMS
Primary Classification:
Additional Classification:
General Terms:
Keywords:
|
||||||||||||||||||||||||||||