Pergunta de entrevista da empresa Redline Trading

Explain how does cache and memory work.