How does memory management work in CPython? And how would you track down a memory leak in a long-running Python process?
~4 min by voice
How to approach it
The interviewer checks whether you understand CPython's actual memory model (reference counting plus a generational GC for cycles) and whether you can hunt down leaks in production systematically, with tools and a method, instead of just restarting the process.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.