Barclays interview question

How do you find a bug in code?