Cognizant interview question

Multi threading concepts