Goldman Sachs interview question

Garbage collection and Thread vs process.