Nomura interview question

Garbage collection algorithm