Bank of America interview question

String concepts