Apple interview question

How to find bugs in some existing code.