Question library
Questions from real interviews. Drill any of them by voice in a couple of minutes, with an interviewer, a score and feedback.
How does memory management work in Python? How are objects that are no longer needed removed?JuniorWhat is the garbage collector in Java, and how does it figure out which objects can be removed?JuniorA service running on G1 periodically has pauses of one to two seconds, and it's hurting latency. What would you do, and when is it worth looking at a different garbage collector?Mid-levelOver a day of running, a Python worker grows in memory from two hundred megabytes to three gigabytes. How would you track down the leak?Mid-levelHow does memory management work in CPython? And how would you track down a memory leak in a long-running Python process?SeniorYou have a Java service with a 30 GB heap, and the business is complaining about long pauses. How would you choose and tune the garbage collector?Senior