Bank of America Interview Question

Based on some case study