HSBC interview question

One technical coding challenge. It was average