HSBC interview question

Describe how you solved issue