Rippling Interview Question

Memoize function to track number of function calls and return the first result every time the function is called.