DocumentCode
1376102
Title
Recursive algorithms in computer science courses: Fibonacci numbers and binomial coefficients
Author
Stojmenovic, Ivan
Author_Institution
Dept. of Comput. Sci., Ottawa Univ., Ont., Canada
Volume
43
Issue
3
fYear
2000
fDate
8/1/2000 12:00:00 AM
Firstpage
273
Lastpage
276
Abstract
We observe that the computational inefficiency of branched recursive functions was not appropriately covered in almost all textbooks for computer science courses in the first three years of the curriculum. Fibonacci numbers and binomial coefficients were frequently used as examples of branched recursive functions. However, their exponential time complexity was rarely claimed and never completely proved in the textbooks. Alternative linear time iterative solutions were rarely mentioned. We give very simple proofs that these recursive functions have exponential time complexity. The proofs are appropriate for coverage in the first computer science course
Keywords
computational complexity; computer science education; number theory; recursive functions; Fibonacci numbers; alternative linear time iterative solutions; binomial coefficients; branched recursive functions; computer science courses; curriculum; exponential time complexity; recursive algorithms; Algorithm design and analysis; Binary trees; Computer science; Data structures; Iterative algorithms; Poles and towers; Problem-solving; Tree data structures;
fLanguage
English
Journal_Title
Education, IEEE Transactions on
Publisher
ieee
ISSN
0018-9359
Type
jour
DOI
10.1109/13.865200
Filename
865200
Link To Document