Bank of America interview question

Hard brain teaser