Pergunta de entrevista da empresa Standard Chartered Bank

Problem and how you solved it