Bank of America interview question

No problems