Question d’entretien chez HSBC

One technical coding challenge. It was average