HSBC Interview Question

The math quiz