HSBC interview question

Nothing was difficult..