Domanda di colloquio di TiVo

How would one implement reference counted objects?