Cognixia interview question

How would you debug this