Pergunta de entrevista da empresa HubSpot

Create a memoisation method for caching

Resposta da entrevista

Sigiloso

14 de set. de 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.