Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
Define Fibonacci numbers in your own words.
Think about the starting numbers.
What is Fibonacci(3)?
Calculate using previous Fibonacci numbers.
What are the first two Fibonacci numbers?
Remember the starting values.
True or False: Fibonacci(5) equals Fibonacci(4) plus Fibonacci(3).
Think about the definition.
Using memoization, implement a function to calculate Fibonacci numbers and compare its performance against a naive recursive implementation.
Time each approach and compare.
Design a dynamic programming solution for calculating Fibonacci numbers and explain why it is efficient.
Explain the fill-up process in your solution.
5 more questions in this section. Enroll free to practise them all.
Enroll free