HSBC interview question

Later I will answer this