Question d’entretien chez Bank of America

Very basic level algorithm questions