Domanda di colloquio di HubSpot

Create a memoisation method for caching

Risposta di colloquio

Anonimo

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