Skip to content
Sharp

Memory · interview question

A teammate submits shaky long-lived objects code. Which review comment is the strongest?

Multiple choiceHardchapter-16-curatedpremiummemorylong-lived-objects
Choose one answer
Answer and explanation

Correct answer

A. Make the rule clearer and easier to explain. Inspect caches, buffers, and retained rows to find why data lives past its useful moment.

Why

The best review comment anchors the change to readability, correctness, and future maintenance. If everything is kept 'just in case', memory usage becomes a design problem rather than a garbage collector problem.

Test yourself on Memory

A free test with instant, explained results. No account needed.

Start free test
All Memory questions →