← All questions
Memoize a function (numbers, strings, and object args)
MediumJavaScriptAsked at Rippling · Forward Networks
Cache function results. Handle primitive args first, then object args by normalizing keys for a stable cache key.
Premium question
Unlock the full problem, starter code, and hidden test cases with Mentoxis Premium.
Unlock with Premium