HCLTech interview question

collections and multithreading