Cody

Problem 44381. Cache me Outside

The test suite includes a simple recursive Fibonacci sequence generator, but it's terribly inefficient. One simple method for improving its performance is using a technique called memoization. Write a function that takes a function_handle that we wish to memoize and returns a function_handle to a memoized version of the initial handle.

Solution Stats

28.66% Correct | 71.34% Incorrect
Last solution submitted on Sep 01, 2019

Problem Comments