Sitronics TS Interview Question

Garbage collector inner logic.