Skip to content

Latest commit

 

History

History

2020-custom-memoize

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Coding kata task

Write a memoize function such that immediately-repeated calls with the same argument return the same result without invoking the underlying function.

NOTE: The input function can be assumed to only ever take a single parameter.

IMPORTANT: Only IMMEDIATELY repeated calls with the same arguments should be cached.