SmartWorks interview question

Java Collections