Lenze Interview Question

problem solving using Arraylist, string, Hashmap