Santander Interview Question

How to solve an issue