Cognizant Interview Question

Threading