Microsoft Interview Question

Design a garbage collector