Bank of America interview question

Basic questions