Coding Challenge: Caching
Test your caching in Python skills by solving the challenge in this lesson.
Problem
You have been given a fib()
function that calculates the nth number in the Fibonacci sequence. The function works correctly with smaller numbers such as 4, 5, 10, etc. However, when we want to calculate the numbers much ahead in the series such ...
Access this course and 1400+ top-rated courses and projects.