Apple Interview Question

The different algorithms a garbage collector follows.