CME Group Interview Question

Manipulate arraylist of strings