Search IOCombats

Search challenges, guides, questions and articles

Memory Interview Questions

3 curated memory interview questions with detailed answers and examples.

← Browse all interview questions

A model has no memory of its own: every call only sees what you send in that request. Agent "memory" is your app deciding what to put back into the context: short-term memory is the current conversation (message history for one thread), working memory is a small set of key facts kept in the prompt, and long-term memory is data stored in a database across sessions and pulled in when relevant, often by semantic search. Each type trades accuracy against tokens, cost and privacy.

intermediateagent frameworksaiagentsmemory

Understand how JavaScript automatically frees memory using reachability and reference checks.

advancedadvanced conceptsjavascriptmemorygarbage collection

Diagnose memory growth, understand mark-and-sweep, and apply strategies to prevent leaks in web apps and Node services.

advancedbrowser and-domjavascriptmemorygarbage collection