Grid Dynamics Interview Question

Threads and garbage collector in depths