Sitronics TS interview question

Garbage collector inner logic.