Draft

Efficient recursive fibonacci

Description:

Calculating the n-th element of the fibonacci sequence is usually calculated recursively using a top down approach that causes the repeated calculation of certain elements in the sequence. The resulting function is useful only for a small n. Using iteration it is possible to calculate the sequence more efficiently because it induces the use of a bottom up approach that retains the information required to calculate the next element in the sequence. The same can be done using recursion and a helper function. Write the recursive helper function. The function should work for n = 500

Mathematics
Recursion

Similar Kata:

Stats:

CreatedDec 18, 2017
Warriors Trained141
Total Skips32
Total Code Submissions196
Total Times Completed31
Python Completions31
Total Stars0
% of votes with a positive feedback rating57% of 20
Total "Very Satisfied" Votes10
Total "Somewhat Satisfied" Votes3
Total "Not Satisfied" Votes7
Total Rank Assessments19
Average Assessed Rank
6 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • NathanWeinstein Avatar
  • siebenschlaefer Avatar
  • emgordon154 Avatar
Ad