Infosys interview question

only threads collections are important