Pregunta de entrevista de HSBC

They asked about array and basic math.