Acturis Interview Question

Where are the bugs in this code?