Smarsh interview question

Some more collection and multithreading question.