Cisco interview question

Design a garbage collector