Santander interview question

How to solve an issue