HSBC Interview Question

Nothing was difficult..