HSBC interview question

Nothing hard