eCentric interview question

collections, multi threading