All challenges
Multiple ChoiceIntermediate 30s

Memoization

Choose the best answer for: function caching
Options
  1. 1Cache function results by arguments to avoid recomputation
  2. 2Store results in the database only; functions never cache their output
  3. 3Cache results only for React components; other runtimes recompute them
  4. 4Do not cache anything; results are always recomputed on every call

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle