HSBC Interview Question

Few technical questions