Cognizant Interview Question

Technical