Question d’entretien chez TikTok

They asked me to create a cache in JavaScript based on a problem question