Qualcomm Interview Question

Finding all the bugs from a piece of code