Bank of America Interview Question

Hard brain teaser