Pregunta de entrevista de HubSpot

Create a memoisation method for caching

Respuesta de la entrevista

Anónimo

14 sept 2017

I wasn't all too aware of memoisation as a concept, but the interviewer had a way it had to be done by passing a function as an argument. I got my mind in a twist with how to return the result of this, and it led me down a rabbit hole of time waste and needless confusion.