Cognizant interview question

Concurreny concepts